problem with check_disk_remote (solaris plugin)
Elizar M. Palad
elizar.palad at gmail.com
Wed Sep 14 10:46:47 CEST 2005
its not working! checked the ownhership/permission of the file, both ok
nagios 755
but when executed by nagios user, i got:
$ ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 30
permission denied
permission denied
Use of uninitialized value in concatenation (.) or string at
../libexec/check_disk_remote line 119.
|
checking the file now.. but any inputs are welcome..
thanks!
On 9/14/05, oliver.steenbuck at lhsystems.com <oliver.steenbuck at lhsystems.com>
wrote:
>
> 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
> > 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
> > ]*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..
>
>
--
----
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/44ed42d5/attachment.html>
More information about the Users
mailing list