Page 1 of 1
Nagios xi utilization and user activity logs
Posted: Wed Mar 08, 2017 2:14 am
by inas.labib
Hi ,
Kindly assist us on below queries
1) We need to monitor localhost (nagios xi server) resource utilization (cpu,memory,load) with graph
2) we need to know every user's activity @ nagios xi , we tried "admin --> audit logs" , which is not clear and some of the activities are not recorded like adding/removing comments, auto removal of acknowledgements,etc
we use nagios xi Installed Version: 5.2.2
Re: Nagios xi utilization and user activity logs
Posted: Wed Mar 08, 2017 4:24 pm
by avandemore
To begin with, I would recommend upgrading to the latest version and doing this before proceeding with your other desires. You can find info on do so here:
https://assets.nagios.com/downloads/nag ... nstall.pdf
1) There are a few ways to do this at least. One is you could install and/or configure an active agent. NCPA works pretty well with an updated XI. Then you could run the wizard for the active agent against localhost and select the items you want monitor and record performance data on.
A different approach would simply be to use the local plugins installed in /usr/local/nagios/libexec/ to run the checks. This is similar to the first option except you would have to manually create the services and there is no need to run the checks through an active agent.
SNMP can provide these metrics as well.
https://www.centosblog.com/install-snmp ... on-centos/ If you setup permissions correctly, all the information you requested can be retrieved from SNMP.
2) There is a difference between User and Contact. Some activties related to Contacts will be stored in the Nagios Logs eg /usr/local/nagios/var/nagios.log and /usr/local/nagios/var/archives/
https://assets.nagios.com/downloads/nag ... ntacts.pdf
Once again, you should upgrade Nagios XI for best results.