Novell OES Linux Monitoring
Posted: Wed Feb 23, 2011 5:11 pm
I'm trying monitor a few items on a standard SLES 10 SP3 server. I had the error "NRPE: Command 'check_disk' not defined", but now I get "DISK CRITICAL - 20% is not accessible: No such file or directory"
My NRPE check command from XI is doing the following...
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
Here's what my disk looks like:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 52410560 8789080 43621480 17% /
udev 4089148 200 4088948 1% /dev
/dev/cciss/c0d0p3 216651156 146391936 70259220 68% /var/opt/novell
/dev/evms/DATA 314571776 249098284 65473492 80% /opt/novell/nss/mnt/.pools/DATA
admin 4096 0 4096 0% /_admin
DATA 314571776 248165696 65473492 80% /media/nss/DATA
And here is what I have in my nrpe.cfg...
#command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 <---gave the other error mentioned above
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
On a side note these are monitoring fine:
User: USERS OK - 3 users currently logged in
PING: OK - 10.90.18.120: rta 0.618ms, lost 0%
Load: OK - load average: 0.06, 0.12, 0.09
And the rest of these monitoring tasks also fail:
Total Processes NRPE: Command 'check_procs' not defined
Swap Usage NRPE: Command 'check_swap' not defined
Open Files NRPE: Command 'check_open_files' not defined
Memory Usage NRPE: Command 'check_mem' not defined
CPU Stats NRPE: Command 'check_cpu_stats' not defined
I have verified all of the plugins exists under /usr/local/nagios/libexec/
My NRPE check command from XI is doing the following...
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
Here's what my disk looks like:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 52410560 8789080 43621480 17% /
udev 4089148 200 4088948 1% /dev
/dev/cciss/c0d0p3 216651156 146391936 70259220 68% /var/opt/novell
/dev/evms/DATA 314571776 249098284 65473492 80% /opt/novell/nss/mnt/.pools/DATA
admin 4096 0 4096 0% /_admin
DATA 314571776 248165696 65473492 80% /media/nss/DATA
And here is what I have in my nrpe.cfg...
#command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 <---gave the other error mentioned above
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
On a side note these are monitoring fine:
User: USERS OK - 3 users currently logged in
PING: OK - 10.90.18.120: rta 0.618ms, lost 0%
Load: OK - load average: 0.06, 0.12, 0.09
And the rest of these monitoring tasks also fail:
Total Processes NRPE: Command 'check_procs' not defined
Swap Usage NRPE: Command 'check_swap' not defined
Open Files NRPE: Command 'check_open_files' not defined
Memory Usage NRPE: Command 'check_mem' not defined
CPU Stats NRPE: Command 'check_cpu_stats' not defined
I have verified all of the plugins exists under /usr/local/nagios/libexec/