Quickest way to get basic info: hostgroups, members,services


#1

Our company only recently implemented Nagios, and I have taken over Nagios administration from someone who just quit.

As mentioned in my previous post, we are running Nagios Core 3.2.0 on RHEL 5.4, with Centreon web front-end.

**I need to prepare some basic documentation for management:

~ List of all hosts in Nagios/Centreon.
~ Threshold values for all services, to generate notifications.
~ List of contacts who get notifications.
**

What is the fastest and easiest way for me to get this info? :?:

I need this today, so if you can reply as soon as you read this it would be greatly appreciated! :mrgreen:


#2

the nagios configuration page should give most of what you are looking for… pull that to a spreadsheet and reorder as needed.


#3

Where is that located?


#4

the last link in your nagios page, left column…


#5

Ok, we’re using Centreon for the web front-end, so I found the info there. Only problem is, copying the info from there and pasting it into a spreadsheet brings over a lot of junk from the GUI that I don’t want, so I’ll have to do a lot of formatting to get it into usable shape. I still would have preferred to be able to get this info in plain text from the config files, but the spreadsheet should work out ok. Thanks for all your help!


#6

i don’t know centreon so i dont’ know what it does with the config files…

yu can try to search for them in /usr/local/nagios/etc/objects but you would need to cross reference between files to have all dependeanceis solved… my bet is you are better off with the configuration table.