AW: problem with check_disk_remote (solaris plugin)

oliver.steenbuck at lhsystems.com oliver.steenbuck at lhsystems.com
Wed Sep 14 10:44:17 CEST 2005


is the plugin also working if you are nagios and start it from the commandline ?

-----Ursprüngliche Nachricht-----
Von: Elizar M. Palad [mailto:elizar.palad at gmail.com]
Gesendet am: Mittwoch, 14. September 2005 10:41
An: STEENBUCK, OLIVER
Cc: nagios-users at lists.sourceforge.net
Betreff: Re: [Nagios-users] problem with check_disk_remote (solaris plugin)

yes actually, no. I am root in the commandline..
?


 
On 9/14/05, oliver.steenbuck at lhsystems.com < oliver.steenbuck at lhsystems.com  <mailto:oliver.steenbuck at lhsystems.com> > wrote: 

maybe your try from the commandline was not as the nagios user ?

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net [mailto: nagios-users-admin at lists.sourceforge.net  <mailto:nagios-users-admin at lists.sourceforge.net> ]Im Auftrag von Elizar M. Palad
Gesendet am: Mittwoch, 14. September 2005 10:36
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] problem with check_disk_remote (solaris plugin)


 
Hi everyone!
 
Why is it that when i run the plugin manually, ie, commanline,
the scripts executes without a problem.. example
 
# ../libexec/check_disk_remote -e rsh  -H k3tsyn1 -w 90 -c 98
OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100
 
But when i do this in my command.cfg file:
 
define command{
        command_name    check_remote_disk
        command_line    $USER1$/check_disk_remote -e rsh  -H k3tsyn1 -w 90 -c 98
        }
 
(yes, i know that's the macro thing.. :) its not working also, i put it like
that to simulate manual execution)
 
the logs says:
[1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No output returned from plugin)
[1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No output returned from plugin)
 
Thanks!
 

-- 
----
Don't Tell Me How Hard You Work..
   Show Me How Much You'd Accomplished.. 




-- 
----
Don't Tell Me How Hard You Work.. 
   Show Me How Much You'd Accomplished.. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050914/0e17b159/attachment.html>


More information about the Users mailing list