check_disk no output

António Coelho coelhoapm at gmail.com
Fri Jul 15 17:21:29 CEST 2005


Sorry for my previous mistake!
The output I get from nagios machine for the command is:

[admin at sumonitor admin]$
/servers/nagios/libexec/check_remote_disk_fra.pl  sugtwn2 10% 5% "/var
/home /oracle /oracle/backup"
admin at sugtwn2's password:

sh: -c: line 1: syntax error near unexpected token `(9'
sh: -c: line 1: `echo DISK CRITICAL [242016 kB (92%) free on /var]
[253740 kB (96%) free on /home] [58716 kB (0%) free on /oracle]
[30756660 kB (86%) free on /oracle/backup]'
DISK CRITICAL [242016 kB (92%) free on /var] [253740 kB (96%) free on
/home] [58716 kB (0%) free on /oracle] [30756660 kB (86%) free on
/oracle/backup]


Any help?


On 7/14/05, Marc Powell <marc at ena.com> wrote:
> 
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of António Coelho
> > Sent: Thursday, July 14, 2005 9:24 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] check_disk no output
> >
> > Hello all,
> >
> >   My Nagios is monitoring several services and machines on the network.
> >   One of the services is check_remote_disk for a AIX machine, with the
> > line
> >
> > check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup"
> >
> >   The problem is, if I run the plugin directly on the AIX-server (via
> > command shell) it returns a valid output, but in nagios web interface
> > it shows like NO OUTPUT!
> >
> > zugtwz2    Disk    OK  07-13-2005  15:52:32  1d 23h 40m 15s  1/3  (No
> > output!)
> >
> >  Can anyone help me on this?
> 
> 
> Run the command as the nagios user exactly as it's defined in your commands.cfg file from your nagios machine. Chances are high that it's spitting out something that you're not seeing.
> 
> --
> Marc
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick
> _______________________________________________
> 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
> 


-- 
António Coelho
http://www.antoniocoelho.com.pt
coelhoapm at gmail.com


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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