uaslam wrote:I can do so through the web UI but should it default to what in the confi file?
Nope. XI's settings will take precedence.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
uaslam wrote:The XI settings survive nagios service restarts?
Yes, because the settings are stored in the postgres db.
uaslam wrote:How can I make sure nagiosxi settings are null (dont interfere with nagios core)?
Are you looking to script the notifications on/off instead of using XI's options?
uaslam wrote:I'm also enabling/disabling Active Service Checks & Active Host Checks using flags in the config file and they both seem to work fine.
Specifically, the XI notification handler is not handled by core, but by XI. Disabling notifications in core should work for the core handlers though.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:Are you looking to script the notifications on/off instead of using XI's options?
Yes, thats exactly what I'm doing... This particular instance is a clone of our primary nagiosxi and serves as standby backup.
It just sits there dormant and checks the primary server once in a while to see if nagios is running if not it should fire up and start sending notifications.
While we are on the topic, If i setup MySQL replication, would that cause any issues between the two servers? And I would imagine, it would also inherit the XI values for notification status?
uaslam wrote:While we are on the topic, If i setup MySQL replication, would that cause any issues between the two servers?
Nope.
And I would imagine, it would also inherit the XI values for notification status?
Not really, as the XI notification settings are stored in a postgres db instead of the mysql dbs which store check and core config entries.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.