check_disk no output

Marc Powell marc at ena.com
Fri Jul 15 17:01:31 CEST 2005


Please reply on-list always. In the future, please try to avoid top-posting as it makes replying in context difficult.

The below appears to have been run as the root user on the local AIX box and not using the same command arguments as specified in the service check_command. This is specifically _not_ how nagios is executing the check. You've completely ignored everything I suggested doing.

--
Marc

> -----Original Message-----
> From: António Coelho [mailto:coelhoapm at gmail.com]
> Sent: Friday, July 15, 2005 2:16 AM
> To: Marc Powell
> Subject: Re: [Nagios-users] check_disk no output
> 
> Hello,
> 
> As far as i can see the output is correct
> 
> [root at zugtwz2]/softs/apps/nagios/plugins# ./check_disk -w 10 -c 5
> 
> DISK OK [224764 kB (85%) free on /dev/hd4] [475464 kB (30%) free on
> /dev/hd2] [242024 kB (92%) free on /dev/hd9var] [149972 kB (57%) free
> on /dev/hd3] [253740 kB (96%) free on /dev/hd1] [245136 kB (93%) free
> on /dev/hd10opt] [342788 kB (21%) free on /dev/ibmlv] [58716 kB (0%)
> free on /dev/oraclelv] [747148 kB (71%) free on /dev/ora_admin]
> [1415888 kB (27%) free on /dev/ora_product] [584416 kB (11%) free on
> /dev/ora_oradata] [30756660 kB (86%) free on /dev/ora_backup] [3584 kB
> (0%) free on /dev/BD_temp] [26304 kB (0%) free on /dev/BD_rollback]
> [578328 kB (18%) free on /dev/BD_movmts] [154564 kB (0%) free on
> /dev/BD_ctlbck] [21764 kB (0%) free on /dev/ora_oradvlp]
> 
> 
> 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.


-------------------------------------------------------
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