Determining when a host was removed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Determining when a host was removed

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Determining when a host was removed

Post by avandemore »

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

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Determining when a host was removed

Post 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
Previous Nagios employee
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Re: Determining when a host was removed

Post by notverynick »

So is that from the latest version?

Cheers
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Determining when a host was removed

Post by avandemore »

Yes that is from 5.3.2
Previous Nagios employee
Locked