Monitoring disk usage

Morris, Patrick patrick.morris at hp.com
Tue Jul 14 21:09:54 CEST 2009


On Tue, 14 Jul 2009, Juki wrote:

> Hello,
> 
> I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows;
> 
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p /
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora
> command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5%
> command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400
> command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost
> command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5
> 
> My intention is to monitor disk usage on the partitions /var/opt/BGw/Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions.  However, I do see other details like ssh, processes, swap and even those for the / partition.
> 
> If I run on the monitored host, I get some info;
> 
> bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora
> DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ora=5323MB;10997;12568;0;15711
> 
> From my understanding, the output above shows that the check_disk plugin actually works, however on logging into the web interface, there are no details to this effect and also no alerts/warnings at all. How do I get to see the details of these partitions in the web interface including warnings and alerts.

You haven't mentioned anything about configuring Nagios to run a check
against the service you've set up on NRPE. Have you done that part yet?

If you're not sure how, check out the section of the NRPE docs about the
Monitoring Host Setup. That should tell you everything you need to know.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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