User history
User history
Hi
How can I create - if possible ? - a list showing user activity? Login / out etc ?
Best
/Jan
How can I create - if possible ? - a list showing user activity? Login / out etc ?
Best
/Jan
Re: User history
I believe that you may find the information you are looking for in the access log. Run the following command from your XI server connection to print the contents of that log to the terminal.
Code: Select all
cat /var/log/httpd/access_logNAGIOS LOGSThis is the Apache access log. Failed authentications, ajax requests and page views will log here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: User history
Hi
Thanks. There is no access file. We might missed that on the installation?. Where should we enable this to comply with Nagios settings ?
---------------------------------------
root@nagios-logserver2:/etc/apache2/sites-enabled# cat nagioslogserver.conf
DocumentRoot /var/www/html
Alias /nagioslogserver "/var/www/html/nagioslogserver/www/"
<Directory "/var/www/html/nagioslogserver/www/">
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
RewriteEngine on
RewriteCond $1 !^(index\.php|scripts|media|app|js|css|img|font|vendor|config.js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php/$1 [L,QSA]
-------------------------------------------------
Best
/Jan
Thanks. There is no access file. We might missed that on the installation?. Where should we enable this to comply with Nagios settings ?
---------------------------------------
root@nagios-logserver2:/etc/apache2/sites-enabled# cat nagioslogserver.conf
DocumentRoot /var/www/html
Alias /nagioslogserver "/var/www/html/nagioslogserver/www/"
<Directory "/var/www/html/nagioslogserver/www/">
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
RewriteEngine on
RewriteCond $1 !^(index\.php|scripts|media|app|js|css|img|font|vendor|config.js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php/$1 [L,QSA]
-------------------------------------------------
Best
/Jan
Re: User history
I'm sorry, I was looking at XI by mistake.
Do you see any access logs in /var/log/httpd?
Do you see any access logs in /var/log/httpd?
Code: Select all
cat /var/log/httpd/access_log*As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: User history
I see it but it is emty:
Best
/Jan
Code: Select all
cd /var/log/apache2
root@nagios-logserver2:/var/log/apache2# ls -l access.log
-rw-r----- 1 root adm 0 Feb 9 2019 access.logBest
/Jan
Re: User history
Please try this command to look in some other locations that Apache commonly puts the access log.
This command will look in the configuration files to see what access log is defined there.
You could also locate it using the command below.
Apparently the access log location varies based on what operating system you have running. The following are the default locations for a few Linux distributions that are commonly used as servers.
RHEL / Red Hat / CentOS / Fedora
Debian / Ubuntu
FreeBSD
I hope that helps! 
Code: Select all
/var/log/apache* /var/log/http*Code: Select all
cat /usr/local/etc/apache22/httpd.conf /etc/apache2/apache2.conf /etc/httpd/conf/httpd.conf | grep CustomLogCode: Select all
locate access.log access_logRHEL / Red Hat / CentOS / Fedora
Code: Select all
/var/log/httpd/access_logCode: Select all
/var/log/apache2/access.logCode: Select all
/var/log/httpd-access.logAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: User history
Hi
root@nagios-logserver2:~# cat /usr/local/etc/apache22/httpd.conf /etc/apache2/apache2.conf /etc/httpd/conf/httpd.conf | grep CustomLog
cat: /usr/local/etc/apache22/httpd.conf: No such file or directory
cat: /etc/httpd/conf/httpd.conf: No such file or directory
# a CustomLog directive.
root@nagios-logserver2:~#
--- can I phone somebody at the support ? This is not good and our DPO ... are banning Nagios...
Best
/Jan
root@nagios-logserver2:~# cat /usr/local/etc/apache22/httpd.conf /etc/apache2/apache2.conf /etc/httpd/conf/httpd.conf | grep CustomLog
cat: /usr/local/etc/apache22/httpd.conf: No such file or directory
cat: /etc/httpd/conf/httpd.conf: No such file or directory
# a CustomLog directive.
root@nagios-logserver2:~#
--- can I phone somebody at the support ? This is not good and our DPO ... are banning Nagios...
Best
/Jan
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: User history
Hi Jan,
Does the Audit Log Report meet your requirements? Go to Admin > Reports > Audit Log and use the SECURITY filter to pull details on user activity (see attached screenshot).
If not please let know what other information you're trying to pull.
Regards,
Benjamin
My apologies for the inconvenience here, and happy to help you get this worked out.How can I create - if possible ? - a list showing user activity? Login / out etc ?
Does the Audit Log Report meet your requirements? Go to Admin > Reports > Audit Log and use the SECURITY filter to pull details on user activity (see attached screenshot).
If not please let know what other information you're trying to pull.
Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: User history
Hi Jan,
Excellent!
We'll go ahead and mark this as resolved, but feel free to open another post if you have any new questions.
Excellent!
We'll go ahead and mark this as resolved, but feel free to open another post if you have any new questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!