NRDP, Freshness and Host status
Posted: Fri Oct 28, 2011 10:51 am
Hi all,
For the sake of this question here is some details about my infrastructure:
- Servers run CentOS 5.6 (x86_64)
- Central monitoring server runs NagiosXI (latest) and Apache.
- I have /nrdp/ accessible and using SSL (no problems there)
- Nodes to be monitored have an installation of nagios core and send results via NRDP to the central server.
- We will be adding plenty of nodes in an ongoing basis hence all should be as automated as possible yet without turning into a spaghetti bolognaise of code and hacks.
Now here's how I've been doing things:
Usually I set up a new machine, use the base localhost.cfg (with the linux defaults) as base for the monitoring checks to be done, then on the central server I wait for the initial checks to come to the "Unconfigured objects", once they all arrive I click on the little blue arrow.
Now what I'm missing (a.k.a my questions):
Since these are passive checks I need to add some sort of freshness to them os that they are translated to critical or warning if some NRDP packages are not received. I've been doing this by clicking on "re-configure this service check" for each service check, my question here is: Is there a way to automate this so that I don't have to go and add the freshness one by one to all services? As you might understand everytime I add a new node/machine to be monitored that would mean i'd have to configure freshness on about 10 services...
My second question and also quite important is, even though the host is configured and receiving the passive checks (and all checks show green), the host status itself is still showing as "Host check is pending...", surely there is something missing since this should be "UP" or "Down" etc... On a side note I checked this http://nagios.sourceforge.net/docs/3_0/ ... ation.html and enabled it yet the status is still the same.. what am i missing here?
P.S: Hopefuly no flaming on why we use the above monitoring architecture, suffice to say we MUST run with this monitoring architecture.
For the sake of this question here is some details about my infrastructure:
- Servers run CentOS 5.6 (x86_64)
- Central monitoring server runs NagiosXI (latest) and Apache.
- I have /nrdp/ accessible and using SSL (no problems there)
- Nodes to be monitored have an installation of nagios core and send results via NRDP to the central server.
- We will be adding plenty of nodes in an ongoing basis hence all should be as automated as possible yet without turning into a spaghetti bolognaise of code and hacks.
Now here's how I've been doing things:
Usually I set up a new machine, use the base localhost.cfg (with the linux defaults) as base for the monitoring checks to be done, then on the central server I wait for the initial checks to come to the "Unconfigured objects", once they all arrive I click on the little blue arrow.
Now what I'm missing (a.k.a my questions):
Since these are passive checks I need to add some sort of freshness to them os that they are translated to critical or warning if some NRDP packages are not received. I've been doing this by clicking on "re-configure this service check" for each service check, my question here is: Is there a way to automate this so that I don't have to go and add the freshness one by one to all services? As you might understand everytime I add a new node/machine to be monitored that would mean i'd have to configure freshness on about 10 services...
My second question and also quite important is, even though the host is configured and receiving the passive checks (and all checks show green), the host status itself is still showing as "Host check is pending...", surely there is something missing since this should be "UP" or "Down" etc... On a side note I checked this http://nagios.sourceforge.net/docs/3_0/ ... ation.html and enabled it yet the status is still the same.. what am i missing here?
P.S: Hopefuly no flaming on why we use the above monitoring architecture, suffice to say we MUST run with this monitoring architecture.