Commvault software is an enterprise-level data platform used to back up, restore, archive, replicate, and search data. The software is available across cloud and on-premises environments, and a lot of customers are using this solution as part of their infrastructure. And in such situations the necessity arises to develop a solution for integrating COMMVAULT information in NetEye. In this article I’ll explain how to do just that.
In this section I’ll describe how NetEye integrates with COMMVAULT using its API and an ad-hoc script. The architecture of this integration plugin is laid out in this image:
The python script we developed manages communications between NetEye API/Tornado and CommVault API. Iterations between these two modules are performed in 5 steps in which the script:
The script can be run in this way:
cd /neteye/shared/monitoring/plugins/
./check_commvault.py -s <FQDN/IP> -u <USERNAME> -p <PASSWORD>
In order to make everything work,the script creates within NetEye these entities:
{
"id" : "commvault",
"token": "WEBHOOK_TOKEN",
"collector_config": {
"event_type": "commvault_event",
"payload": {
"data": "${@ajay-sharma
}
}
}
At the end, remember to set this hard-coded information:
WEBHOOK_TOKEN = "****" WEBHOOK_ID = "****" WEBHOOK_FQDN = "****" ICINGA_API_USER = "****" ICINGA_API_PASSWORD = "****" CREATED_BY = "****"
The final result will be a host with an active service used to define the COMMVAULT username, password, endpoint, and frequency.
Along with a set of services linked to the number of alarms fired by Commvault:
Did you find this article interesting? Does it match your skill set? Our customers often present us with problems that need customized solutions. In fact, we’re currently hiring for roles just like this and others here at Würth Phoenix