Automating the creation of new alarms on Nagios XI
Posted: Fri Apr 06, 2018 4:20 am
So Basically this is our scenario:
We have multiple network devices (mix of Juniper and Cisco) that are sending syslog messages of to our Nagios Log Server. I have configured both inputs and filters to parse the logs properly into separate fields. I have also configured NLS to analyse Nagios XI logs and have an output configured to create Hosts and Services on the fly if any unconfigured objects are found. So far so good.
Now I would like to automatically analyse the Cisco and Juniper Logs and if it finds messages with severity of Critical and above, it will send passive alerts to Nagios XI. The Host to be used in Nagios, will be parsed from the same syslog message and if it doesn't exist, it will go to the unconfigured objects which will then be catered for as described above.
Before proceeding with the configuration, I would like to ask if this is the right way of configuring such a scenario? I believe that in order to do the above, I would need to use output scripts to analyse each message and send passive checks to Nagios XI and not using the queries/alerts pages, right?
We have multiple network devices (mix of Juniper and Cisco) that are sending syslog messages of to our Nagios Log Server. I have configured both inputs and filters to parse the logs properly into separate fields. I have also configured NLS to analyse Nagios XI logs and have an output configured to create Hosts and Services on the fly if any unconfigured objects are found. So far so good.
Now I would like to automatically analyse the Cisco and Juniper Logs and if it finds messages with severity of Critical and above, it will send passive alerts to Nagios XI. The Host to be used in Nagios, will be parsed from the same syslog message and if it doesn't exist, it will go to the unconfigured objects which will then be catered for as described above.
Before proceeding with the configuration, I would like to ask if this is the right way of configuring such a scenario? I believe that in order to do the above, I would need to use output scripts to analyse each message and send passive checks to Nagios XI and not using the queries/alerts pages, right?