Passive Checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rentsys
Posts: 98
Joined: Wed Oct 16, 2013 11:57 am

Re: Passive Checks

Post by rentsys »

I attached it.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Passive Checks

Post by scottwilkerson »

Did you happen to turn off the processing of perfdata in the nagios.cfg on the sending server?? Or change the perfdata commands?

Would it be possible to post the results of the following commands

Code: Select all

ls -l /usr/local/nagiosxi/var/perfdataproc.log
grep perf /usr/local/nagios/etc/nagios.cfg
grep perfdata /usr/local/nagios/etc/commands.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rentsys
Posts: 98
Joined: Wed Oct 16, 2013 11:57 am

Re: Passive Checks

Post by rentsys »

Code: Select all

[root@csvmmon01 ~]# ls -l /usr/local/nagiosxi/var/perfdataproc.log
-rw-r--r-- 1 nagios nagios 153 Apr  8 10:03 /usr/local/nagiosxi/var/perfdataproc.log
[root@csvmmon01 ~]# grep perf /usr/local/nagios/etc/nagios.cfg
process_performance_data=1
# service performance data
service_perfdata_file=/usr/local/nagios/var/service-perfdata
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$\tSERVICEOUTPUT::$SERVICEOUTPUT$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=15
service_perfdata_file_processing_command=process-service-perfdata-file-bulk
# host performance data
host_perfdata_file=/usr/local/nagios/var/host-perfdata
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tHOSTOUTPUT::$HOSTOUTPUT$
host_perfdata_file_mode=a
host_perfdata_file_processing_interval=15
host_perfdata_file_processing_command=process-host-perfdata-file-bulk
perfdata_timeout=5
[root@csvmmon01 ~]# grep perfdata /usr/local/nagios/etc/commands.cfg
       command_name                             process-host-perfdata-file-bulk
       command_line                             /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/xidpe/$TIMET$.perfdata.host
       command_name                             process-host-perfdata-file-pnp-bulk
       command_line                             /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/perfdata/host-perfdata.$TIMET$
       command_name                             process-host-perfdata-pnp-normal
       command_line                             /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
       command_name                             process-service-perfdata-file-bulk
       command_line                             /bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/$TIMET$.perfdata.service
       command_name                             process-service-perfdata-file-pnp-bulk
       command_line                             /bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/perfdata/service-perfdata.$TIMET$
       command_name                             process-service-perfdata-pnp-normal
       command_line                             /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
[root@csvmmon01 ~]#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks

Post by lmiltchev »

It doesn't seem you changed anything - these commands look fine...

Can you add another service to the "GSFlexdataA GuideStone" host on the "sending" server and see if it is going to show up in unconfigured objects on the "receiving" one? Also, is it going to be a problem if you deleted one of these services on the receiving box, and see if the passive check results will show up in unconfigured objects?

I don't see an "Open Manage" service on the "sending" server. Did you delete this one?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rentsys
Posts: 98
Joined: Wed Oct 16, 2013 11:57 am

Re: Passive Checks

Post by rentsys »

I added the Open Manage service back to the sending server, and removed the host and services from the receiving server. How long should it take?
Edit: It has been two hours, and it still hasn't updated.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks

Post by lmiltchev »

It has been two hours, and it still hasn't updated.
If you removed the host/services from the receiving server, it won't update, since the host/services are deleted. It should show as a new unconfigured object, which you will need to configure. It shouldn't take very long.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rentsys
Posts: 98
Joined: Wed Oct 16, 2013 11:57 am

Re: Passive Checks

Post by rentsys »

I should have been more specific.
It hasn't shown up on the unconfigured objects page.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks

Post by lmiltchev »

It seems like we will need to dig deeper into this. On the sending server, go to Admin->System Profile->Download Profile->save and email us the "profile.zip" file at [email protected]. Put "Passive Checks" in the email's subject. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
rentsys
Posts: 98
Joined: Wed Oct 16, 2013 11:57 am

Re: Passive Checks

Post by rentsys »

I don't have the support/maintenance plan.
So it looks like I am troubleshooting this on my own.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks

Post by lmiltchev »

We do need to review your configs and log files to further troubleshoot the issue. If you had an email support ticket open, we could easily schedule a remote session, too.
If you want to purchase support/maintenance, you can contact our sales department at [email protected]. Otherwise, you can PM the "profile.zip" file to any of us on the Nagios Tech Support Team, and we will take a look at it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked