I’m running Nagios 3.0.6 on SuSE SLES 11, SP1.
I’ve noticed many of the plug-in scripts don’t appear to be reporting accurately. For example, the check_users plug-in is using these parameters in the services.cfg: check_users!30!50! and is defined in the commands.cfg as: $USER1$/check_users -w $ARG1$ -c $ARG2$
However, it reports there are two users on every system it checks, even when no one is logged in.
Another example is the check_swap plug-in. In the commands.cfg it’s listed as: $USER1$/check_swap -w $ARG1$ -c $ARG2$
In the services.cfg it’s listed as: check_swap!20%!10%!
Every server is showing: SWAP OK - 100% free (6143 MB out of 6143 MB)
However, vmstat at the server shows:
procs -----------memory---------- —swap-- -----io---- -system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 2059044 14671008 132908 11640904 0 4 1 11 14 43 42 10 47 0 0
Am I doing something wrong?