Page 1 of 1
Determining when a host was removed
Posted: Thu Nov 03, 2016 12:24 pm
by notverynick
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
Re: Determining when a host was removed
Posted: Thu Nov 03, 2016 12:31 pm
by avandemore
XI > Admin > Audit Logs will show this information.
Re: Determining when a host was removed
Posted: Tue Nov 08, 2016 12:55 pm
by notverynick
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
Re: Determining when a host was removed
Posted: Tue Nov 08, 2016 1:44 pm
by avandemore
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.cfg
Re: Determining when a host was removed
Posted: Tue Nov 08, 2016 2:55 pm
by notverynick
So is that from the latest version?
Cheers
Re: Determining when a host was removed
Posted: Tue Nov 08, 2016 3:04 pm
by avandemore
Yes that is from 5.3.2