Hello friends, First of all thanks for ur immense support.. But im making some mistake,I get this error from nagios webpage
Current Status: CRITICAL (for 0d 0h 42m 23s) Status Information: (Return code of 127 is out of bounds - plugin may be missing) My command.cfg is as follows # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } # 'check_http_path' define command { command_name check_http_path command_line check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$ } i've the check_http plugin at /usr/local/nagios/libexec/check_http (with chown nagios.nagios) Should I change the commandline as it is just IP? Thanks, Harry On Tue, Mar 10, 2009 at 12:14 AM, Justin Pasher <just...@newmediagateway.com > wrote: > Justin Pasher wrote: > >> Harry John wrote: >> >> >>> Hi friends, >>> am just wondering how to monitor a website as >>> http://172.168.1.1:82/xap/murl2?language=en >>> define service{ >>> use generic-service ; Inherit default values from a template >>> host_name remotehost >>> service_description HTTP >>> check_command check_http >>> } >>> How do I fit this link here? >>> >>> >> >> define service { >> use generic-service ; Inherit default values from a template >> host_name remotehost >> service_description HTTP >> check_command check_http_path!172.168.1.1:82 < >> http://172.168.1.1:82/xap/murl2?language=en>!/xap/murl2?language=en < >> http://172.168.1.1:82/xap/murl2?language=en>!25!50 >> } >> >> > > Agh.. stupid Thunderbird. It should look like this: > > define service { > use generic-service ; Inherit default values from a template > host_name remotehost > service_description HTTP > check_command check_http_path!172.168.1.1:82 > !/xap/murl2?language=en!25!50 > } > > > > -- > Justin Pasher >
------------------------------------------------------------------------------
_______________________________________________ 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