trouble getting started: getting error 127 out of bounds on check_http

Steve Shipway s.shipway at auckland.ac.nz
Thu Dec 1 01:44:29 CET 2005


>> Looking at your definition of check_http, it would seem that 
>you have maybe forgotten to set $USER1$ ?  
...
>nagios at mynode$ grep USER1 resource.cfg
># Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
># Sets $USER1$ to be the path to the plugins
>$USER1$=/usr/local/nagios/libexec
>
>However this does not seem to be getting passed along. 

Check to make sure that the resource.cfg file location is correctly defined
in your nagios.cfg.  If nagios can't find it, then it will not be processed.
The part shown above seems to be the correct syntax.

However, you've found the obvious workaround, of specifying the paths
explicitly in the commands.cfg files.  This should cause no problems in
operation, although it may make the system very slightly more work to
manage.

Steve



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list