Page 2 of 3

Re: Passive Checks

Posted: Mon Apr 07, 2014 4:51 pm
by rentsys
I attached it.

Re: Passive Checks

Posted: Mon Apr 07, 2014 6:27 pm
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

Re: Passive Checks

Posted: Tue Apr 08, 2014 10:04 am
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 ~]#

Re: Passive Checks

Posted: Tue Apr 08, 2014 10:54 am
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?

Re: Passive Checks

Posted: Tue Apr 08, 2014 11:02 am
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.

Re: Passive Checks

Posted: Tue Apr 08, 2014 1:45 pm
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.

Re: Passive Checks

Posted: Tue Apr 08, 2014 1:54 pm
by rentsys
I should have been more specific.
It hasn't shown up on the unconfigured objects page.

Re: Passive Checks

Posted: Tue Apr 08, 2014 3:50 pm
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!

Re: Passive Checks

Posted: Tue Apr 08, 2014 3:58 pm
by rentsys
I don't have the support/maintenance plan.
So it looks like I am troubleshooting this on my own.

Re: Passive Checks

Posted: Wed Apr 09, 2014 11:11 am
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.