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

Topics - pace

#1
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
#2
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]
#3
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
#4
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
#5
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
#6
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
#7
General Support / Linux Memory Monitoring
April 17, 2015, 10:30:46 PM
When I use Free or Available memory checks on Linux, it does not take into account the system cache.  This makes all my busy servers appear to have no memory to NetXMS because the systems start using all the free memory for file system caching.  Is there any way to take this into account?  Right now I'm checking for the use of swap to see if I'm really running out of memory -- I'd prefer not to do that and I would like to be able to check for free memory on my systems that have been intentionally configured without swap...


Thanks!
pace
#8
I'm trying to create a node that I will then use to monitor a network service.  This node is the head of a load balancer (I'm trying to make sure the site is running).  The problem is that I'm using Direct Server Response and the IP address of this load balancer head is in use on all the web servers (this is the appropriate configuration for DSR).  I'm getting the "object already exists" message because the IP address is attached to all the web servers and it isn't letting me create the node because of that.

What is the suggested remedy to this?


Thanks!
pace
#9
Hi there.  Whenever I restart my server, all of my file hash/security checks go on alert and I get a bazillion alerts, pages, emails.  These then clear as soon as the system is running the checks for a few goes.

Any suggestion on preventing all these notices when the server restarts?  Seems like the hash should be the same as before the server restart, but maybe it isn't getting permanently stored?

Additionally, all the UNSUPPORTED features that various agents all go on alert again on the restart.


Thanks for any help!
pace