Steps to Integrate Check MK with AlarmsOne:


Check_MK is an open-source extension to the Nagios monitoring system that allows creating rule-based configuration using Python and offloading work from the Nagios core to make it scale better, allowing more systems to be monitored from a single Nagios server. Following are the integration steps for the OMD version of Check_MK 1.2.8p15 Enterprise version. If you are running a different version and have problem in integrating, please contact support@alarmsone.com


 

Video: Integrating Check_MK with AlarmsOne.

 

 

 


 

 

Steps to be followed in AlarmsOne: 


1. Sign up for AlarmsOne service and log into your account. Click Applications icon in the left panel.
  
2. Click Agents and click Add Agent(+) to download the agent (or) poller.
     
3. Once the download is complete, install the agent on the machine from where it can reach  Check_MK.

4. Now go to AlarmPoller_home/AlarmUtilities/Check_MK folder in the agent.

5. Then execute the shell script inside this folder as root as following:
[This step will move the AlarmsOne script as Notification method in Check_MK]
sh check_mk.sh /omd/sites/{your-site-name-here}/local/share/check_mk/notifications 

6. Provide enough permission to file AlarmPoller_Home/conf/CheckMK/alerts.txt , so that CheckMK can write alarms to it.
 

 

Steps to be followed in Check_MK:


1. Log in to your Check_MK account and click Users in WATO-Configuration in the left panel.


2.Create a new User by clicking on "New User" tab and provide the Identity details. In the security details, You can disable the login permission for the user and create a user with role "Normal Monitoring User" or user role with privilege to send notifications. Choose the contact group for which the user wants to receive alerts and click Save.


3. Then click on the custom notification icon near the user created under the Actions column and click "New Rule" tab. Provide a Description and choose "Alarmsone-Agent" in Notification method. Click Save


4. In the Users tab, you can see the orange colour tab with "1 Changes". Hit that tab and then click "Activate Changes". Now Check_MK integration is done.
 


 

Steps to Debug:



1. Trigger a test alert in Check_MK and check if it is properly reaching AlarmsOne. 


Steps to trigger test alert in Check_MK:
    i)  Choose any one of your services. Click on the Command icon [Hammer icon] on the top of the list. 
    ii) In the Fake Check results, choose the plugin and dummy performance data and set the result to OK. It will prompt if you want to manually set check results to           OK for the following 1 service? Click Yes. This will trigger test data.

 

2. If you are not yet seeing the alerts into AlarmsOne, check /omd/sites/{your-site-name-here}/var/log/notify.log in it. See if you are getting any error in it. If it is a 'permission denied' problem, give proper permission for AlarmPoller_Home/conf/CheckMK/alerts.txt. If there is any other error, please send the notify.log in check_mk and AlarmPoller_Home/logs folder to support@alarmsone.com