NLS system Alarm monitoring

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
technosol
Posts: 36
Joined: Mon May 07, 2018 11:46 am

NLS system Alarm monitoring

Post by technosol »

Hi,

Are we able to Verify Nagios log server system fault/Alarm management?

For example;
Cluster status, Logstash status, elasticsearch status..etc.

How can we simulate these testing with the error thresholds ( WARNING|CRITICAL|..etc.

Thank you
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS system Alarm monitoring

Post by cdienger »

The check_http(http://nagios-plugins.org/doc/man/check_http.html) plugin can be used to make calls to Log Server's API and check that the results contain specific strings. API info can be found at https://support.nagios.com/kb/article/n ... s-596.html

NCPA( https://www.nagios.org/ncpa/) can be another option too and for other things the API may not handle. Stuff like the cluster state for example would need a local query to the elasticseach database. NCPA can run custom scripts to get this info(https://support.nagios.com/kb/article/n ... a-722.html). Cluster state can be pulled with a curl command:

curl http://localhost:9200/_cluster/state
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
technosol
Posts: 36
Joined: Mon May 07, 2018 11:46 am

Re: NLS system Alarm monitoring

Post by technosol »

Hi

Thank you for the reply. As per the details you have shared, we are able to check the status of nls using its API.

However, my requirement is, during the UAT we want to simulate the alarms that generating according to the MIB sources NLS have shared in

/usr/local/nagioslogserver/mibs

Where can we see these alarms and how can we generate these alarms as just for verification purpose?

Thank you.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS system Alarm monitoring

Post by cdienger »

Those are for instances where an XI server sends traps to NLS. See: https://support.nagios.com/kb/article/n ... al-77.html

NLS alerts can be configured to send snmp traps following https://assets.nagios.com/downloads/nag ... Server.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked