host defined in static directory not showing up

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

host defined in static directory not showing up

Post by lyle »

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
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

Post by tonyyarusso »

First thought - are they listed as being read when you do nagios -v?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: host defined in static directory not showing up

Post by lyle »

Well they did show up. Maybe I was panicking 8-)

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

Post by tonyyarusso »

Ah, good. 'service nagios restart' is the proper method (after verifying them).
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked