Steps to Integrate Zenoss 3 with AlarmsOne:
Zenoss is an open source IT management solution. Through integrated monitoring, it enables you to manage the status and health of your infrastructure through a single, Web-based console. The power of Zenoss starts with its in-depth Inventory and Configuration Management Database (CMDB).
To integrate Zenoss3 with AlarmsOne for alarms tracking, follow the steps below.
Steps to be followed in AlarmsOne:
1. Click onApplications icon in the left panel.2. Click on +Add Application. Here, select Zenoss.3. Fill in the Application Label (e.g.Zenoss).4. Select the appropriate Time Zone to show the reports. 5. Click Add. A URL will be generated. Please copy the displayed URL.
Steps to be followed in Zenoss3:
1. Log into Zenoss3 and create trigger for AlarmsOne by clicking on (EventsEvent Manager).2. Click (Events ManagerCommands), Add a command name AlarmsOne.3. Select the created AlarmsOne command and set Enabled as True.4. Specify the Default Command Timeout to 120 seconds. 5. Copy and paste the following command in the Command field.
curl -H "Content-Type: application/json" -X POST -d '{ "DEVICEPRIORITY" : "${evt/DevicePriority}", "IPADDRESS" : "${evt/ipAddress}", "EVENTTIME" : "${evt/lastTime}", "DEVICE" : "${evt/device}", "EVENTCLASS" : "${evt/eventClass}", "EVENTCLASSKEY" : "${evt/eventClassKey}", "EVENTGROUP" : "${evt/eventGroup}", "MESSAGE" : "${evt/message}", "PRIORITY" : "${evt/priority}", "SEVERITY" : "${evt/severity}", "AGENT" : "${evt/agent}", "EVID" : "${evt/evid}", "EVENTSTATE" : "${evt/eventState}", "SUMMARY" : "${evt/summary}", "MANAGER" : "${evt/manager}", "PRODSTATE" : "${evt/prodState}", "COUNT" : "${evt/count}", "OWNERID" : "${evt/ownerid}" }' "API_URL_From_AlarmsOne"
Note:
Substitute the URL copied from AlarmsOne in the tag API_URL_From_AlarmsOne
6. Copy and paste the following command in the Clear Command field.
curl -H "Content-Type: application/json" -X POST -d '{ "DEVICEPRIORITY" : "${evt/DevicePriority}", "IPADDRESS" : "${evt/ipAddress}", "EVENTTIME" : "${evt/lastTime}", "DEVICE" : "${evt/device}", "EVENTCLASS" : "${evt/eventClass}", "EVENTCLASSKEY" : "${evt/eventClassKey}", "EVENTGROUP" : "${evt/eventGroup}", "MESSAGE" : "${evt/message}", "PRIORITY" : "${evt/priority}", "SEVERITY" : "${evt/severity}", "AGENT" : "${evt/agent}", "EVID" : "${evt/evid}", "EVENTSTATE" : "${evt/eventState}", "SUMMARY" : "${evt/summary}", "MANAGER" : "${evt/manager}", "PRODSTATE" : "${evt/prodState}", "COUNT" : "${evt/count}", "OWNERID" : "${evt/ownerid}" }' "API_URL_From_AlarmsOne"
Note:
Substitute the URL copied from AlarmsOne in the tag API_URL_From_AlarmsOne
7. Please specify the criteria for the event to be sent as alarm to AlarmsOne.8. Save the command.