Hi Guys,
I admit to not looking too hard but is there a way to determine when a host was removed (deleted, not just deactivated) from the config?
Cheers,
Nick
Determining when a host was removed
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Determining when a host was removed
XI > Admin > Audit Logs will show this information.
Previous Nagios employee
-
notverynick
- Posts: 62
- Joined: Wed Jun 13, 2012 8:47 am
Re: Determining when a host was removed
Hi There,
Just checked, my action was CCM -> hosts -> find an old host -> delete -> apply config, my logs show simply three entries:
2016-11-08 17:51:35 17272 Nagios XI INFO localhost cmdsubsys: User applied a new configuration to Nagios Core
2016-11-08 17:51:34 17271 Nagios XI INFO nick x.x.x.x User submitted a command to the subsystem (ID=17)
2016-11-08 17:51:33 17270 Nagios XI INFO nick x.x.x.x User applied a new monitoring configuration
I'm running 5.2.5, are the logs more detailed in 5.3.2?
Cheers,
Nick
Just checked, my action was CCM -> hosts -> find an old host -> delete -> apply config, my logs show simply three entries:
2016-11-08 17:51:35 17272 Nagios XI INFO localhost cmdsubsys: User applied a new configuration to Nagios Core
2016-11-08 17:51:34 17271 Nagios XI INFO nick x.x.x.x User submitted a command to the subsystem (ID=17)
2016-11-08 17:51:33 17270 Nagios XI INFO nick x.x.x.x User applied a new monitoring configuration
I'm running 5.2.5, are the logs more detailed in 5.3.2?
Cheers,
Nick
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Determining when a host was removed
This is an example:
Code: Select all
Date / Time ID Source Type User IP Address Message
2016-11-08 12:41:58 163 Nagios XI INFO nagiosadmin 192.168.5.16 User applied a new monitoring configuration
2016-11-08 12:41:56 162 Nagios CCM MODIFY nagiosadmin localhost Host file deleted: localhost_copy_1.cfgPrevious Nagios employee
-
notverynick
- Posts: 62
- Joined: Wed Jun 13, 2012 8:47 am
Re: Determining when a host was removed
So is that from the latest version?
Cheers
Cheers
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm