Plugin_ouput issue
Posted: Tue Mar 31, 2015 6:13 am
Hello!
I have two servers, I will name it server1 and server2, with an instance of nagios installed in each. Server1 is the central server (passive checks) and collects results from other distributed monitoring servers. Server2 is a distributed monitoring server (active checks). On the latter I have configured a service with a check_command that verifies backups on a Backup server:
This service check works perfectly and I'm able to see the result on the server2's Nagios GUI at this specific service's page. But I don't get the same display on the server1's Nagios GUI - please check the images attached.
To understand even better what the issue is I checked another similar distributed monitoring server which executes the same service check and sends the result to server1 and the display is equal on either server1 and this server in question. For that reason I compared its configurations (the definition of check_command, the service itself, the send_nsca.cfg and even the submit_service_check) with server 2 for this specific service and realized that it's identical to both.
Later I checked the status.dat on server1 and server2 and saw that on the first one the long_plugin_output is empty and on the second one is not.
server1
server2
Any help will be appreciated a lot.
Thank you
I have two servers, I will name it server1 and server2, with an instance of nagios installed in each. Server1 is the central server (passive checks) and collects results from other distributed monitoring servers. Server2 is a distributed monitoring server (active checks). On the latter I have configured a service with a check_command that verifies backups on a Backup server:
Code: Select all
define service{
use (...)-generic-service,srv-pnp
host_name (...)-BACKUP02
service_description DNV-BE_EventLog_JobWarnings
servicegroups (...)-Backups
check_command check_nrpe!CheckEventLog -a filter=new file=application MaxWarn=1 'filter=generated gt -1d AND id = 33919' truncate=800 unique descriptions
}
To understand even better what the issue is I checked another similar distributed monitoring server which executes the same service check and sends the result to server1 and the display is equal on either server1 and this server in question. For that reason I compared its configurations (the definition of check_command, the service itself, the send_nsca.cfg and even the submit_service_check) with server 2 for this specific service and realized that it's identical to both.
Later I checked the status.dat on server1 and server2 and saw that on the first one the long_plugin_output is empty and on the second one is not.
server1
Code: Select all
plugin_output=Backup Exec(warning, 33919, success)[Backup Exec Alert: Job Warning
long_plugin_output=
Code: Select all
plugin_output=Backup Exec(warning, 33919, success)[Backup Exec Alert: Job Warning
long_plugin_output=(Server: "BACKUP02") (Job: "Sharepoint 2013-Log") The scheduling options selected for this job do not (...)
Thank you