Hello Marc, I have downloaded and compiled the source code. it is working on /usr/lib/nagios/plugin, but not in other directories, Here is the message that I see on nagios screen: Critical : (Return code of 126 is out of bounds - plugin may be missing)
is there any way to set up another directory for custom commands. Thanks Marc Powell wrote: > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Nagios >> Sent: Wednesday, July 18, 2007 2:18 PM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] check_http output >> >> Hello >> >> is there any way to change check_http plugin output . >> here is my output : >> HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds >> >> but I want to have different output based on service names.y >> like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds >> > > Yes, you can do it but you'd need to edit the source and recompile or > create a wrapper for check_http that modified the output to suit your > needs. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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