NLS system Alarm monitoring

This board serves as an open discussion and support collaboration point for Nagios Log Server. NOTE: Nagios Log Server customers should use the Customer Support forum to obtain expedited support.

NLS system Alarm monitoring

Postby technosol » Thu Nov 08, 2018 10:05 am

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
technosol
 
Posts: 28
Joined: Mon May 07, 2018 11:46 am

Re: NLS system Alarm monitoring

Postby cdienger » Thu Nov 08, 2018 5:32 pm

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.
User avatar
cdienger
Support Tech
 
Posts: 2078
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS system Alarm monitoring

Postby technosol » Fri Nov 09, 2018 5:40 am

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.
technosol
 
Posts: 28
Joined: Mon May 07, 2018 11:46 am

Re: NLS system Alarm monitoring

Postby cdienger » Fri Nov 09, 2018 1:24 pm

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.
User avatar
cdienger
Support Tech
 
Posts: 2078
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Log Server

Who is online

Users browsing this forum: No registered users and 1 guest