On Feb 29, 2008, at 7:01 AM, Domenico Dig wrote: > Hi all > I'm having a problem with check_hd( the same problem with > check_winmem). > > With nagios server (debian & nagios 2.5) I try to check hd on > windows 2003, where i have installed snmp ( > I have tested it with snmpwalk and it works, all mibs are shown) but > manually with: > > nagios:/# /usr/lib/nagios/plugins/check_hd 10.1.1.8 public 10 10 c > Critical : no response
FSS: Don't run plugins as root, nagios doesn't. > while trouth web interface I see the follow error > > **ePN failed to compile /usr/lib/nagios/plugins/check_hd: "Global > symbol "$PROGNAME" requires explicit package name at (eval 3) line 21, Nagios has been compiled with embedded perl support but this plugin isn't made to work with it. http://nagios.sourceforge.net/docs/2_0/embeddedperl.html . Either recompile without embedded perl, modify the plugin to 'fix' it or use the workaround below. > using this: > define command{ > > command_name check_hd > > command_line $USER1$/check_hd $HOSTADDRESS$ public $ARG1$ $ARG2$ > $ARG3$ > > } > Using the following command_line will bypass use of the ePN for this plugin specifically -- command_line /your/path/to/perl $USER1$/check_hd $HOSTADDRESS$ public $ARG1$ $ARG2$ $ARG3$ -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
