Can nagios recognize newly added disks
Marc Powell
marc at ena.com
Thu Jul 23 13:41:47 CEST 2009
On Jul 23, 2009, at 1:43 AM, keshav murthy wrote:
> Objective:
> Is Nagios capable of re-scanning the disk drives or recognize if
> there are newly added disks/removed disks from existing servers that
> are being monitored in Nagios.
I am assuming that these are linux/unix-like hosts. If you do not
specify -p parameters to check_disk, it will check all currently
mounted partitions.
$ ./check_disk -w 20% -c 10%
DISK WARNING - free space: / 1558 MB (20% inode=83%); /boot 49 MB (54%
inode=100%); /opt 9430 MB (47% inode=100%); /dev/shm 1002 MB (100%
inode=100%); /tmp 1836 MB (93% inode=100%); /usr 7405 MB (75%
inode=94%); /usr/local 29362 MB (35% inode=98%); /var 7496 MB (76%
inode=99%); /usr/local/nagios 230139 MB (84% inode=99%);| /=6316MB;
6299;7086;83;7874 /boot=42MB;72;81;99;91 /opt=10804MB;
16186;18209;99;20233 /dev/shm=0MB;800;900;99;1001 /tmp=132MB;
1574;1771;99;1968 /usr=2437MB;7873;8857;94;9842 /usr/local=54302MB;
66931;75297;97;83664 /var=2346MB;7873;8857;99;9842 /usr/local/
nagios=43396MB;218828;246181;99;273535
--
Marc
------------------------------------------------------------------------------
_______________________________________________
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