check_disk output
Claudio Kuenzler
ck at claudiokuenzler.com
Tue Sep 17 12:30:07 CEST 2013
> atlantis:~# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / -p
> /drbd/
> DISK OK - free space: / 796 MB (23% inode=69%); /drbd 9094 MB (94%
> inode=96%);| /=2575MB;2840;3195;0;3551 /drbd=482MB;8071;9080;0;10089
>
>
> This is the configuration that I have in
> /usr/local/nagios/etc/nrpe.cfg:
>
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15% -c 10%
> -p / - /drbd
For debugging, you should run the exact same command as the nrpe daemon
user (e.g. nagios) and look for the differences.
If you see different output, you can try it with the setuid (chmod u+s
/usr/local/nagios/libexec/check_disk) and try it again. Maybe this
helps.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
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