I suppose it's something dumb, but I add some cfg files to the static directory, defining hosts and services, and they're not showing up in the XI interface.
I run "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" without errors.
Then I've tried:
"service nagios restart"
"killall -9 nagios"
"/etc/init.d/nagios reload" (I was desperate)
Nothing works.
The config files are all owned by apache:nagios with protections of 775
Any ideas? Thanks...Lyle
host defined in static directory not showing up
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: host defined in static directory not showing up
First thought - are they listed as being read when you do nagios -v?
Re: host defined in static directory not showing up
Well they did show up. Maybe I was panicking 
What's the proper way to reload nagios after changing configs in the static directory?
Thanks...Lyle
What's the proper way to reload nagios after changing configs in the static directory?
Thanks...Lyle
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: host defined in static directory not showing up
Ah, good. 'service nagios restart' is the proper method (after verifying them).