Audit Log questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Audit Log questions

Post by SteveBeauchemin »

Is there a place where I can lookup the ID= information found in /usr/local/nagiosxi/var/components/auditlog.log
for example...

Code: Select all

User submitted a command to the subsystem (ID=1100)
what is ID 1100 ?

I will look in code, or docs, whatever. I just need to know what it means.

My company is moving closer to becoming DFARS complaint and I have been able so far to stay ahead of the requests. Audit logging is an important one.

I would like to ask for something like verbose mode for the audit log if possible - to have more specific information provided. The short-hand data in the file now is barely adequate. I am not completely sure what to ask for. But I need to see more information than I see today.

Above is one example. I have no idea what that user clicked on.

Another example here:
This line is from the audit log:

Code: Select all

2017-04-17 05:08:02 - Nagios XI [32] system:localhost - cmdsubsys: User [username] started Nagios Core
What did the user click to make this happen? The people getting Audit data in the future will be asking for better information.

Is there some way to get better or more clear data in the audit log.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Audit Log questions

Post by bheden »

html/includes/constants.inc.php

grep for "COMMAND_"

This will give you the definitions of the commands being processed.

Or, grep for "AUDITLOG" to give you the numerical data regarding types and sources.

Hope this helps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Audit Log questions

Post by bheden »

In regards to a "verbose mode", I've submitted that as a feature request for a future release of XI. I've even given it a +1!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Audit Log questions

Post by SteveBeauchemin »

Thanks, that is helpful.

Now I just need to figure out what

Code: Select all

define("COMMAND_NAGIOSXI_SET_HTACCESS", 1100);
means

Thank you Developer Bryan...

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Audit Log questions

Post by dwhitfield »

Probably just part of an Apply Config. Do you need more info than that?
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Audit Log questions

Post by bheden »

SET_HTACCESS is used to update the core htaccess file so that whoever is specified as the command's payload has access to the core install on the XI box.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Audit Log questions

Post by SteveBeauchemin »

Thanks for the info people. You are all so well educated, smart and pretty. :lol:
I hope to see you at a Nagios conference again at some point in the future.

Feel free to close this.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Locked