Problem with passive checks - Nagios XI
Posted: Wed Jul 31, 2019 7:18 am
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
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