passiv checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

passiv checks

Post by scharft »

We are using very often the passiv check for our backup_log service check.
Very often all checks are good, but not everytime.
Sometimes it's possible to send the check "OK" signal from the host and Nagios receives it, sometimes not.
We don't find out where is the problem, any ideas?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: passiv checks

Post by ssax »

Please send me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

What type of passive check is it? SNMP Trap, from an agent such as NCPA/NRDS/etc? Is it using NRDP or NSCA or another method?
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: passiv checks

Post by scharft »

it's an SNMP Trap using NSCA.
the profil is attached.

Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: passiv checks

Post by ssax »

Sorry, it would either be using NSCA/NRDP/NRDS or it's a SNMP trap, it would not be both.

If it's a SNMP trap, please run this command as root and send me the resulting /tmp/SNMPFILES.tar.gz file:

Code: Select all

tar czvf /tmp/SNMPFILES.tar.gz /etc/snmp
And let me know the name of an OID that you know should have been received but wasn't.
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: passiv checks

Post by scharft »

I'm sorry, we are using NSCA.
The file is attached.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: passiv checks

Post by ssax »

Are you seeing the missing passive checks show up in Admin > Unconfigured Objects?

What is the output of this command?

Code: Select all

cat /etc/xinetd.d/nsca
Please edit this file:

Code: Select all

/usr/local/nagios/etc/nsca.cfg
Change this:

Code: Select all

debug=0
To this:

Code: Select all

debug=1
Then try to replicate the issue with the check being sent but not received. Once that occurs look in /var/log/messages for any errors.

Disable debugging after that so /var/log/messages doesn't fill up the hard drive with debug data from NSCA. That's really the only way to see what's occurring with NSCA passive results.


While likely unrelated, please edit this file:

Code: Select all

/usr/local/nagiosxi/html/config.inc.php
Change this:

Code: Select all

        "charset" => "latin1",
To this:

Code: Select all

        "charset" => "utf8",
Locked