Problem with passive checks - Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Pablogc
Posts: 16
Joined: Fri Feb 26, 2016 6:15 am

Problem with passive checks - Nagios XI

Post by Pablogc »

Hi Nagios Support Team.

We are facing several problems, when we are configuring passive checks in our Nagios XI system. For technical reasons, we replaced a new server instead of the old one, using same IP and same hostname that the previous one, and running the same services.

Everything is working, excepting some passive check that are not running. Honestly, we are working about a manual chek we design, but honestly, we are not getting why it is not working.

On the monitored server, what we did is:
- To create new instance and deploy plugins ans scripts using CCM and editing manually this configuration files (usr/local/nagios/etc/services).

- Check configurations on monitored node site (passive checks are configured in /usr/local/ncpa/plugins).

- NCPA configurations in ncpa.cfg

On the monitored server, we can see following error, bt we are not completely sure if this is related with the problem we are having.

LOG NCPA_PASSIVE -> /usr/local/ncpa/var/ncpa_passive.log

MissingSchema: Invalid URL u'None': No schema supplied. Perhaps you meant http://None?
2019-07-30 12:00:40,971 4234 INFO Establishing passive handler: Handler
2019-07-30 12:00:40,972 4234 ERROR Cannot parse passive directive for loglevel, name malformed, skipping.
2019-07-30 12:00:40,972 4234 ERROR Cannot parse passive directive for logmaxmb, name malformed, skipping.
2019-07-30 12:00:40,972 4234 ERROR Cannot parse passive directive for gid, name malformed, skipping.
2019-07-30 12:00:40,973 4234 ERROR Cannot parse passive directive for logbackups, name malformed, skipping.
2019-07-30 12:00:40,973 4234 ERROR Cannot parse passive directive for uid, name malformed, skipping.
2019-07-30 12:00:40,973 4234 INFO Running check: /cpu/percent --warning 20 --critical 30
2019-07-30 12:00:41,981 4234 INFO Running check: /memory/swap/percent --warning 40 --critical 80
2019-07-30 12:00:41,985 4234 INFO Running check: /memory/virtual/percent --warning 60 --critical 80

Please, let me know if you have something else I can provide you, or any step we would have missing.

Thanks in advance!
BR
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problem with passive checks - Nagios XI

Post by lmiltchev »

- To create new instance and deploy plugins ans scripts using CCM and editing manually this configuration files (usr/local/nagios/etc/services).
Editing manually configuration files in /usr/local/nagios/etc/services will not work. As soon as you apply configuration, configls will be overwritten with whatever is in the database. What is the version of Nagios XI that you are currently running?

Can you post the ncpa.cfg and nrdp.cfg (the config that holds the passive definitions; it may be called something else on your system) file from the client machine on the forum?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked