Steps to Integrate Sensu with AlarmsOne:
Sensu is an open source monitoring tool and it monitor servers, databases, network devices and cloud services and more.
To integrate Sensu with AlarmsOne, follow the steps below.
Steps to be followed in AlarmsOne:
1. Click on Applications icon in the left panel.
2. Click on Add Application. Here, select Sensu.
3. Fill in the Application Label (e.g. Sensu).
4. Select appropriate Time Zone to report about the alarms.
5. Click Add. A URL will be generated. Please copy the displayed URL.
Steps to be followed in Sensu:
1. Login into the server where Sensu is installed.
2. Download thealarmsone_sensu, extract the contents and give executable permission to the files.
3. Movealarmsone.rb to the directory (/etc/sensu/handler/).
4. Provide executable permission to alarmsone.rb.
5. Move handler_alarmsone.json and alarmsone.jsonto the directory (/etc/sensu/conf.d/) .
6. Open the alarmsone.json file in an editor, search for tag URL and paste the URL copied from the AlarmsOne in the URL parameter within double quotes.
7. Create or edit check_cron.json file, add the alarmsone handler as mentioned below.
"cron_check": {
"handlers": ["default","alarmsone"],
"command": "/etc/sensu/plugins/check-procs.rb -p crond -C 1",
"interval": 10,
"subscribers": ["ALL" ,"webservers","test","production" ]
},
8. Restart the Sensu.