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?
passiv checks
Re: passiv checks
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?
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?
Re: passiv checks
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.
the profil is attached.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Re: passiv checks
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:
And let me know the name of an OID that you know should have been received but wasn't.
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
Re: passiv checks
I'm sorry, we are using NSCA.
The file is attached.
The file is attached.
You do not have the required permissions to view the files attached to this post.
Re: passiv checks
Are you seeing the missing passive checks show up in Admin > Unconfigured Objects?
What is the output of this command?
Please edit this file:
Change this:
To this:
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:
Change this:
To this:
What is the output of this command?
Code: Select all
cat /etc/xinetd.d/nsca
Code: Select all
/usr/local/nagios/etc/nsca.cfg
Code: Select all
debug=0
Code: Select all
debug=1
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
Code: Select all
"charset" => "latin1",
Code: Select all
"charset" => "utf8",