Passive Checks
Re: Passive Checks
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
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
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
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
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?
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!
Re: Passive Checks
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.
Edit: It has been two hours, and it still hasn't updated.
Re: Passive Checks
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.It has been two hours, and it still hasn't updated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Passive Checks
I should have been more specific.
It hasn't shown up on the unconfigured objects page.
It hasn't shown up on the unconfigured objects page.
Re: Passive Checks
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!
Re: Passive Checks
I don't have the support/maintenance plan.
So it looks like I am troubleshooting this on my own.
So it looks like I am troubleshooting this on my own.
Re: Passive Checks
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.
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!