|
Hello Steve,
nageventlog agent installed and configured. Its sending the event information to nagios. But...
I tired the service definition given in the forum. That do not have check command define.
What check_command shall I put in Service Definition? I tried check_dummy with argument 0 but that didn't help.
I am getting following message in syslog on nagios server.
------ Aug 12 16:50:13 centos5-11 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winserver;SQL Server Agent;0;Application [warning] [SQLSERVERAGENT #208]: SQL Server Scheduled Job 'Testjob2' (0x9508D003766EE64A90E81701BD3EF67C) - Status: Failed - Invoked on: 2008-08-12 16:45:00 - Message: The job failed. The Job was invoked by Schedule 2 (Job2). The last step t Aug 12 16:50:13 centos5-11 nagios: Warning: Passive check result was received for service 'SQL Server Agent' on host 'winserver', but the service could not be found! -------
The service definition
define service { service_description Application EventLog host_name winserver active_checks_enabled 0 check_period 24x7 passive_checks_enabled 1 flap_detection_enabled 0 notification_period 24x7 max_check_attempts 1 normal_check_interval 5 notification_options w,c,r stalking_options w,c,u ; track changes of alert message as well check_command check_dummy!0 }
|