Help with "DISK UNKNOWN - free space: " error
Ernesto Sanchez
e.sanchez at libelium.com
Tue Jun 19 14:06:31 CEST 2012
Hello, I've a server with nrpe and the following commands in
/usr/local/nagios/etc/nrpe.cfg :
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10%
-p /dev/root
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5
-c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150
-c 200
command[check_mem]=/usr/local/nagios/libexec/check_mem.sh 85 95
if I exec in a console /usr/local/nagios/libexec/check_disk -w 20% -c
10% -p /dev/root i obtain the following:
DISK OK - free space: /var/named/chroot/var/run/dbus 24513 MB (52%
inode=88%);| /var/named/chroot/var/run/dbus=21787MB;39005;43881;0;48757
In the nagios server i've the following config file:
define host{
use generic-host ; Name of host
template to us
host_name server_name
alias alas_server_name
address ip_address
icon_image base/linux40.jpg
statusmap_image base/linux40.gd2
}
# Check hda1
define service{
use generic-service
host_name server_name
service_description Disk
check_command check_nrpe!check_hda1
}
But nagios report an "DISK UNKNOWN - free space: " on web interface and
the same if I do /usr/lib/nagios/plugins/check_nrpe -H ip_address -c
check_hda1
Somebody can help me?
A lot of thanks in advance.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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