| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| What check command shall I include in Service Definition? http://steveshipway.org/forum/viewtopic.php?f=22&t=1608 |
Page 1 of 1 |
| Author: | chetan_a [ Tue Aug 12, 2008 11:29 pm ] |
| Post subject: | What check command shall I include in Service Definition? |
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 } |
|
| Author: | stevesh [ Wed Aug 13, 2008 10:45 am ] |
| Post subject: | Re: What check command shall I include in Service Definition? |
| Author: | chetan_a [ Wed Aug 13, 2008 11:22 pm ] |
| Post subject: | Re: What check command shall I include in Service Definition? |
Yes it worked. Thank you very much Steve. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|