nagios always show zero load and no users logged in

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Jan 5 09:37:03 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/01/10 02:11 AM, Lambert Emmanuel wrote:
> Hi,
> 
> I have configured Nagios web interface on a server called ZITA.
> I have 2 servers that I want to monitor : wsphotonicsA and wsphotonicsB.
> In the web interface, the status of both servers is shown with all
> green. If I shutdown one of the servers, this is correctly shown.
> However, the load of both servers is always shown as zero and Nagios
> never detects the number of logged in users (it always shows zero, with
> the exception of 1 user that is sporadically detected). The number of
> processes is detected correctly.
> Serverload has been constantly 50% or more during the past 2 weeks, but
> Nagios doesn't detect it.

All the check_local_* commands that you are running are checking the
Nagios server, not the remote server.

To check remote servers, you have to install/setup some way to execute
checks (NRPE, check_by_ssh, SNMP) and run a check against it. The
plugins will have to be installed on the servers themselves.

All network-based checks (check_ping, icmp, tcp, http, smtp, ntp, mysql,
etc.) can check a remote host which is specified with the -H (or
- --hostname) parameter. All other checks runs locally.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLQvov6dZ+Kt5BchYRAt2oAJ9x8+r2L0K5wT4448j30USjQ7EMEgCgszru
Km5delF9oOuEypAoOhAMZP8=
=HBM/
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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