Does the option to "Write Audit Log to file" still exist?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Does the option to "Write Audit Log to file" still exist?

Post by shoreypu »

Hello,

I'm looking to create an alert based on the Nagios XI Audit Log. The documentation shows that there should be an option under Admin > System Settings > Write Audit Log to file, however that no longer seems to exist. Is that the case or is there a different way to configure that now? We do not have Nagios Log Server. We are running v5.11.3.

Thanks in advance.

John
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by DoubleDoubleA »

Hi John,

That's an Enterprise Feature in Admin -> Audit Log.

Aaron
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by shoreypu »

Aaron,

The only option under Audit Logs is to Send to Nagios Log Server, however the Nagios XI Manuals and prior Support Forum questions reference an option under System Config for Write Audit Log to file. Here is a snipet from the Nagios XI Admin Guide vs what I see in my Nagios XI Instance.
Nagios Admin Guide Screenshot.png
My System Config Screenshot.png

Is the option to create a log auditlog no longer available?

Thanks...John
You do not have the required permissions to view the files attached to this post.
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Does the option to "Write Audit Log to file" still exist?

Post by sgardil »

shoreypu wrote: Fri Oct 18, 2024 2:03 pm Aaron,

The only option under Audit Logs is to Send to Nagios Log Server, however the Nagios XI Manuals and prior Support Forum questions reference an option under System Config for Write Audit Log to file. Here is a snipet from the Nagios XI Admin Guide vs what I see in my Nagios XI Instance.

Nagios Admin Guide Screenshot.png

My System Config Screenshot.png


Is the option to create a log auditlog no longer available?

Thanks...John
Hey John, I did some digging and that feature is no longer part of the product. It looks like the commit that removed that feature was the same one that added the ability to send the logs to Log Server. Could you send a link to the documentation that you found pointing to the feature?
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by DoubleDoubleA »

Hi John,

I don't think that is configurable in the interface either currently or in your version. But setting that aside, assuming the auditlog were available as a file, then what would you do?

Aaron
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by shoreypu »

sgardil wrote: Fri Oct 18, 2024 3:03 pm
shoreypu wrote: Fri Oct 18, 2024 2:03 pm Aaron,

The only option under Audit Logs is to Send to Nagios Log Server, however the Nagios XI Manuals and prior Support Forum questions reference an option under System Config for Write Audit Log to file. Here is a snipet from the Nagios XI Admin Guide vs what I see in my Nagios XI Instance.

Nagios Admin Guide Screenshot.png

My System Config Screenshot.png


Is the option to create a log auditlog no longer available?

Thanks...John
Hey John, I did some digging and that feature is no longer part of the product. It looks like the commit that removed that feature was the same one that added the ability to send the logs to Log Server. Could you send a link to the documentation that you found pointing to the feature?
It's under the Nagios XI Administrator Guide, under System Configuration/General Options. Here is the URL:
https://assets.nagios.com/downloads/nag ... raloptions

John
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by shoreypu »

DoubleDoubleA wrote: Fri Oct 18, 2024 3:11 pm Hi John,

I don't think that is configurable in the interface either currently or in your version. But setting that aside, assuming the auditlog were available as a file, then what would you do?

Aaron

Aaron,

I'm looking to be alerted when our systems or application teams disable notifications for any hosts or services. If there is another way of doing that, let me know.

Thanks...John
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Does the option to "Write Audit Log to file" still exist?

Post by sgardil »

shoreypu wrote: Mon Oct 21, 2024 8:05 am
It's under the Nagios XI Administrator Guide, under System Configuration/General Options. Here is the URL:
https://assets.nagios.com/downloads/nag ... raloptions

John
Thanks for the link. We are working on getting our documentation updated and I'll make sure to make a note of this.

As for a way to be alerted when teams disable notification on a host or service, unfortunately I don't believe we have an easy way to do this. You could probably make an event handle to log the information and alert you when it happens however this is going to be a fair amount of work and you would need to make a script to do so. Also you would need to add it to all the exsisting hosts/services. If you do want to do this I would recommend putting the event handler on a template and then using bulk modification tools in the ccm (if you have access) to add the template to the hosts and the services connected to the hosts should inherit the traits, assuming they don't already have event handlers specified.

Sorry that I didn't find an easier option, I'll dig a bit more to see if I can find anything else but in the mean time I'll add some links for docs if you did want to try this route.

Event Handlers
https://assets.nagios.com/downloads/nag ... dlers.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Object Inheritance with XI
https://assets.nagios.com/downloads/nag ... tance.html
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Does the option to "Write Audit Log to file" still exist?

Post by jsimon »

Hi John,

Just to add to the info that @sgardil provided, as previously mentioned in this thread, if you do send this log data to a Nagios Log Server instance, you could set up an alert in Log Server based on the host (XI) and text filters on the log entries, which might meet your needs
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Does the option to "Write Audit Log to file" still exist?

Post by shoreypu »

We do not have a Nagios Log Server license.

Was there a technical reason for removing the ability to export the audit log? Seems like this is something that should continue to be natively built-in to Nagios XI.
Post Reply