Following are the steps involved to integrate Nagios with AlarmsOne.
Steps to be followed in AlarmsOne:
1. Sign up for AlarmsOne service and log into your account. Click on Applications icon in the left panel.
2. Click Agents and then click Add Agent(+) to download the agent (or) poller.
3. Once download is complete, install the agent on the machine from where it can reach Nagios XI.
4. Once the agent is installed and registered with AlarmsOne, click on Applications icon.
5. Click +Add Application at the top right corner of the window and choose Nagios XI.
6. Select the registered agent which is deployed on the Nagios XI Server.
7. Input all the details specific to Nagios XI (Agent, Application Label, Application and Host).
8. Click Add to add the Application to AlarmsOne.
Steps to be followed in Nagios XI:
1. Open the Nagios XI user interface, Click on Configure tab and choose Core Config Manager in the left panel.
2. Click on the Commands option in the left panel and click on Add New at the bottom of the page.
3. Provide the command name as notify-service-to-agent.
4. Paste the following command in the Command section.
echo "$SERVICEEVENTID$&@$SERVICEDESC$&@$HOSTNAME$&@SERVICE&@$SERVICEOUTPUT$&@$SERVICESTATE$&@$SHORTDATETIME$&@$CONTACTNAME$&@$SERVICEDISPLAYNAME$">>AlarmsOne_Poller_Directory/conf/NagiosXI/alerts.txt
Note:
Find out the installation directory of AlarmsOne Poller in Nagios XI machine and substitute the same in AlarmsOne_Poller_Directory. Also, provide full permission to the entire AlarmsOne Poller directory.
5. Choose the command type as misc command, check Active option and click Save.
6. Repeat the Step 1 to 5 for notify-host-to-agent.
7. Paste the following command in the Command section.
echo "$HOSTEVENTID$&@$HOSTDISPLAYNAME$&@$HOSTNAME$&@HOST&@$HOSTOUTPUT$&@$HOSTSTATE$&@$SHORTDATETIME$&@$CONTACTNAME$&@$HOSTADDRESS$">>AlarmsOne_Poller_Directory/conf/NagiosXI/alerts.txt
Note:
Find out the installation directory of AlarmsOne Poller in Nagios XI machine and substitute the same in AlarmsOne_Poller_Directory. Also, provide full permission to the entire AlarmsOne Poller directory.
8. Choose the command type as misc command, check Active option and click Save.
9. Click on Contacts in the left panel and create a new contact or add alerting option to existing contacts.
10. In the case of New Contact, Provide the contact name and select the Active checkbox.
11. In the Alert Setting Tab, enable host notification and service notification and choose host and service notification time period.
12. Click Manage Host Notification & Service Notification one by one, select the appropriate option and click Add, andthen close it.
13. Click on Apply Configuration.
14. To start the Monitoring, Click on Templates -->Host Templates in the left Panel.
15. Select the template that you want to monitor, enable notification and time period as 24x7 and interval as 1 minute.
16. Click Manage Contacts and choose Admin groups.
17. Add the selected option and close it.
Note :