Try: $ sudo -H -u nagios /usr/bin/perl /usr/local/nagios/libexec/check_dell.pl --chassis
Otherwise, turn up the debugging in Nagios all the way. ~BAS On Thu, 15 Jan 2009, Seth Simmons wrote: > I'm having a problem using the dell plugin (from > http://www.itefix.no/i2/check_dell, nothing useful in the forum) > > If I run the plugin (as nagios) on the box, it works fine. > > $ perl check_dell.pl --storage > DELL STORAGE OK - Controller battery 0:ok Controller perc 5/i > integrated:ok Enclosure backplane:ok virtual disk 0:ok > > > However, through nagios, it shows (null) and I can't figure out what I'm > doing wrong. > > Here are the commands I have: > > define command{ > command_name check_chassis > command_line /usr/bin/perl > /usr/local/nagios/libexec/check_dell.pl --chassis > } > > define command{ > command_name check_storage > command_line /usr/bin/perl > /usr/local/nagios/libexec/check_dell.pl --storage > } > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > 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 > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Show me a young conservative and I'll show you someone with no heart. Show me an old liberal and I'll show you someone with no brains." ~ Winston Churchill ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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