Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[Nagiosplug-help] check_disk and DRDB

From: Justin Maloney <justinm(at)honeycomb.net>
Date: Wed Aug 29 2007 - 15:52:02 EDT


First time poster so cut me a little slack.  

Maybe I'm just dumb but I can't figure this out. I'm root and do a df then try to check the 3 mounts to see what space is avaliale. I want /,
/boot, and /var/lib/mysql. Background - drbd is basically netowork
raid1. I'm trying this on the primary as the secondary doesn't get mounted till the first goes down.

[root@mysql-1b ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p3 10317860 2405388 7388352 25% / <-slash
/dev/cciss/c0d0p1 101086 20181 75686 22% /boot
/dev/drbd0 92368656 19834760 67841840 23% /var/lib/mysql

So you would think the command would be - [root@mysql-1b ~]# /usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p
/dev/cciss/c0d0p1 /dev/cciss/c0d0p3 -p /dev/drbd0
Results
DISK OK - free space: /boot 73 MB (78% inode=99%); / 7215 MB (75% inode=92%);| /boot=19MB;83;88;0;98 /=2349MB;83;88;0;10076

So lets try with the actaull path.
[root@mysql-1b ~]# /usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p
/dev/cciss/c0d0p1 /dev/cciss/c0d0p3 -p /dev/cciss/c0d0p2
Results
DISK OK - free space: /boot 73 MB (78% inode=99%); / 7215 MB (75% inode=92%);| /boot=19MB;83;88;0;98 /=2349MB;83;88;0;10076

In both cases I don't get the drbd mount. Any thoughts?  

Thank you,

Justin Maloney

Do you need help?X

Systems Administrator

Honeycomb Internet Services  



This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/



Nagiosplug-help mailing list
Nagiosplug-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Received on Wed Aug 29 15:52:11 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 18:06:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library