Hi All,
I am able to execute external command and make an entry in nagios.cmd file as [Mon Mar 23 14:43:26 IST 2009] PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37 Disk_Space_in_VAR 3 NRPE: [Mon Mar 23 14:44:52 IST 2009] PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37 MSM_Log_Cleaner 2 Log [Mon Mar 23 14:44:52 IST 2009] PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37 MSM_Weblogic_Server 2 Weblogic But I am not able to display it to the UI. My configurations define service{ name generic-service2 register 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 5 active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 0 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 } define service{ name snmptrap-service use generic-service2 register 0 service_description TRAP is_volatile 1 check_command check-host-alive max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 1 check_period none notification_interval 31536000 } define service{ host_name mfin-sol02 use snmptrap-service } mfin-sol02[10.10.7.37] is the host machine UI it says "Service is not scheduled to be checked... " Command.cfg define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } Any help will be appreciated Thankyou Joseph Joseph Ribin Roy Solutions Engineer Mformation Technologies Inc. Direct Line: +91 80 66205 934 Switchboard: +91 80 6620 5900 Visit WWW.MFORMATION.COM and see how the MFORMATION SERVICE MANAGER can help you to transform your business Please consider the environment before printing
<<image/COM>>
------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null