Page 1 of 1
Direct data into Nagios event?
Posted: Thu Apr 11, 2019 6:28 am
by dimsum
Hi,
Is possible to direct events into Nagios? I have old logs something like a network down or service critical.
Thanks.
Re: Direct data into Nagios event?
Posted: Thu Apr 11, 2019 3:01 pm
by cdienger
You'd like to import old logs into XI? Are these logs old nagios.log files? If so, you could copy them /usr/local/nagios/var/archives/. A lot of the reports in the Reports section of the UI use these to generate. If you do copy them over, make sure to name them appropriately - they use a specific timestamp format for their names. Run "ll /usr/local/nagios/var/archives/" to see current files in that directory, their permissions, and ownership settings.
Re: Direct data into Nagios event?
Posted: Tue Apr 16, 2019 8:48 pm
by dimsum
I mean manual adding into state history. I have an old log from the helpdesk team. but I want to add into Nagios. is possible? something like attached.
Thank you.
Re: Direct data into Nagios event?
Posted: Wed Apr 17, 2019 11:26 am
by cdienger
Unfortunately this report is pulled from the database and cannot be injected directly into the database.