Page 1 of 1

Status Information of Nagios

Posted: Thu Aug 23, 2012 9:12 am
by RedOne
hello,
i have a duplicate configuration on all my hosts, let me explain:
in the column “Status Information” of nagios, all my hosts import the same configuration of my Nagios server:

Status Information

DISK OK – free space: / 31590 MB (92% inode = 94%):
OK – load average: 0.25, 0.37, 0.42
PROCS OK: 0 processes with STATE = X, Z
PING OK – Packets Lost = 0%, RTA = 0.40 ms

thank you for helping me.

Re: Status Information of Nagios

Posted: Thu Aug 23, 2012 7:58 pm
by jsmurphy
You might need to explain a little further... are you saying that every server is showing the disk usage of your Nagios server?

Have you installed the NRPE agent on your other servers and the relevant plugins? Are you able to provide the relevant parts of your configuration (A host, the service definition, the command definition)?

It sounds like you have somehow configured every host to check the localhost.

Re: Status Information of Nagios

Posted: Fri Aug 24, 2012 5:29 am
by RedOne
first thank you for your reply.

to give you more VIEW MACHINE DETAILS I installed Nagios Core v3.4.1 and I related to the interface NCONF v 1.2.6, the installation of two software is successful, even adding hosts via NCONF is done correctly.
now when I check in Nagios, I think every host that I added shows the information of my Nagios server (hard disk capacity, RAM usage and CPU load ...).
i installed all the modules on my hosts monitored via NSClient including NRPE.

i feel that this is a configuration problem because all my hosts supervised import the configuration of the local host (server nagios).

attached a screenshot of my result Nagios.

Re: Status Information of Nagios

Posted: Fri Aug 24, 2012 5:30 pm
by jsmurphy
I can't remember exactly what the default templates contain but from memory the "check local" services have command definitions that tell it to check the localhost only. I've personally never used Nconf so I'm not really sure how it works or where you need to go to fix your configuration, but it seems that you might benefit from reading the getting started section in the Nagios documentation which might help you understand how, hosts, services and commands work together.

http://nagios.sourceforge.net/docs/3_0/toc.html hopefully this will clear it up for you, otherwise I would just be writing that section in this post ;).

I also often recommend to people to start without a config manager and use the raw config files when they first begin so that they understand what is going on behind the scenes... then when they are comfortable with that install NagiosQL or NConf. But that's entirely up to you.

Re: Status Information of Nagios

Posted: Mon Aug 27, 2012 6:17 am
by RedOne
okey, thank you alot for your help :)