Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pace

#1
General Support / Re: Ubuntu Init Scripts on Repo Install
February 03, 2016, 01:14:11 AM
Thanks tomaskir.  Actually, I'm trying to write a Chef cookbook for netxms right now and was stuck without the init scripts.  Now I am good :)  Will share with the Chef supermarket and drop a note here once it is fully baked...


pace
#2
General Support / Re: Ubuntu Init Scripts on Repo Install
February 03, 2016, 12:09:34 AM
Problem was the I was trying to install "netxms-client" when I should have been installing "netxms-agent".  No idea what netxms-client is for, but it does install a few things (including netxms-base).  If it is just a remnant of something that isn't used, perhaps pulling it from the repo would prevent people like me (aka idiots) from using the wrong package...


pace
#3
General Support / Ubuntu Init Scripts on Repo Install
February 01, 2016, 10:48:34 PM
Hello everyone.  I am trying to install netxms-client from the repo onto Ubuntu 14.04.  It installs without errors, but it doesn't create init scripts.  I've hunted around for anything named "nxa*" on the system; I'm not finding the init scripts and I'm not finding any default configuration file.

Any ideas where these went?

/etc/apt/sources.list.d/netxms.list:

deb     "http://packages.netxms.org/debian" wheezy main


apt-cache show netxms-client:

Package: netxms-client
Source: netxms
Version: 2.0.1-1
Architecture: amd64
Maintainer: Alex Kirhenshtein <[email protected]>
Installed-Size: 125
Depends: netxms-base (= 2.0.1-1), libc6 (>= 2.4), libexpat1 (>= 2.0.1), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
Section: admin
Priority: extra
Multi-Arch: same
Homepage: https://www.netxms.org/
Description: NetXMS command line client tools
<insert long description, indented with spaces>
Description-md5: 92922c31a143b4b6f839d97db1d7afe1
Filename: pool/wheezy/main/n/netxms/netxms-client_2.0.1-1_amd64.deb
MD5sum: 21cad36df0716cb7fe8acabd57336a3b
SHA1: 96507a939ae6a761bac39f0728ab0316cd08cfc2
SHA256: 73a24199edf7eaf725069deffab020a5d135943c3b9d1ee8485c54e552db9f45
Size: 45766



Thanks!
pace
#4
Nevermind.  That actually did make it happy, I just needed to define the event on the server side.


Thank you!
pace
#5
Hey there.  Tried setting only MasterServers, didn't make any difference.


pace
#6
nxagentd.conf from unit that has the logwatch on it:


Servers = xx.xx.xx.xx
ControlServers = xx.xx.xx.xx
MasterServers = xx.xx.xx.xx
ListenPort = 4700
LogFile = /var/log/netxms-agent.log
RequireEncryption = yes
EnabledCiphers = 1
MaxSessions = 32
SessionIdleTimeout = 60
FileStore = /var/nxagentd
TimeOut = 5
StartupDelay = 0
PlatformSuffix = dbg
EnableSubagentAutoload = yes
EnableProxy = no
EnableSNMPProxy = no
SubAgent = portcheck.nsm
SubAgent = netsvc.nsm
SubAgent = logwatch.nsm
# log watch parser definitions
*LOGWATCH
Parser = /etc/nxagentd.logwatch.zpool.xml



pace
#7
I've got logwatch configured from what I can tell.  I am getting a notice in the agent log that the event I want is being created, but I never see it on the server.

Here's the logwatch xml:

<parser>
    <processAll>0</processAll>
    <file>/etc/nxagentd.logwatch.zpool</file>
    <rules>
        <rule>
            <match>DEGRADED</match>
            <event>10014</event>
        </rule>
        <rule>
            <match>ONLINE</match>
            <event>10015</event>
        </rule>
    </rules>
</parser>


Here's the event that is created in the agent log:
[23-Aug-2015 18:53:20.845] [DEBUG] SendTrap(): event_code=10014, event_name=(null), num_args=0, arg[0]="(null)" arg[1]="(null)" arg[2]="(null)"

Here are two more of the other event:
[23-Aug-2015 18:55:05.848] [DEBUG] SendTrap(): event_code=10015, event_name=(null), num_args=0, arg[0]="(null)" arg[1]="(null)" arg[2]="(null)"
[23-Aug-2015 18:55:05.848] [DEBUG] SendTrap(): event_code=10015, event_name=(null), num_args=0, arg[0]="(null)" arg[1]="(null)" arg[2]="(null)"


Nothing shows up on the NetXMS server under the node I'm monitoring or in the Event Log.


Any help much appreciated...
pace

[EDITED to clarify NetXMS Server and Node difference]
#8
General Support / Re: Linux Memory Monitoring
June 11, 2015, 02:00:08 AM
Quote from: tomaskir on June 11, 2015, 01:58:54 AM
How are you getting the data - from SNMP or nxagent?

nxagent


pace
#9
General Support / Re: Linux Memory Monitoring
June 11, 2015, 01:56:29 AM
Still having this problem.  Any solutions out there?


pace
#10
General Support / Template a remote service check?
April 26, 2015, 11:26:36 PM
I'd like to be able to add a DCI to my host template that would cause the NetXMS server to check the host's service availability, for example SSH.  When I create a DCI in the template, the SSH test is run from the host rather than from the server.  I'd like to ensure that the NetXMS server can also access SSH.

Is this possible inside a host template?


Thanks!
pace
#11
So I've got my load balanced web servers.  I'd like to check the health of the load balanced site on the local web server, but I need to be able to send a host header because if I use the actual site name, it gets sent to the load balancer and therefore I don't know if my individual webserver is having an issue.  From what I can tell ServiceCheck.HTTP and HTTPS, while they have a configuration option for host header, they do not actually use it.

Do any of the agent tests support host headers?  I see Service.Check is based on curl -- can I send it a --headers somehow?


pace
#12
In 2.0M3 when I create a new Business Service Service Check Template it never seems to apply to anything that has already been created within or below the level where I create the template.  If I delete linked nodes that are at this level or below and add them back in after the template has been created then they get the expected Service Check applied to them.


pace
#13
I'm trying to monitor a website that is on a load balancer as part of a business service.  I'm not sure I'm approaching this the right way.  Should I add a "Service Check" -- if yes, what sort of script should I use to do the equivalent of a Service.Check?


Thanks for the help!
pace
#14
I did as you recommended, but I still cannot create the object.  Additionally, I created a node named something specific ("test.test.com" for example).  I then deleted it.  Then I tried to recreate it and I get the "Object Exists" message.


pace
#15
Cool.  I can confirm the 2.0M3 does it...


pace