Prerequisites
- Download and install the Site24x7 server monitoring agent (Linux | Windows) in the server where you plan to run the plugin.
- Ensure you have Python 3 or a higher version installed on your server.
- For Linux servers, install snmpwalk.
To do this, execute the following command in your server:a. On CentOS/RedHat, install snmpwalk using Yumyum install net–snmp–utilsb. On Ubuntu, install snmpwalk using apt-getsudo apt–get install snmpAfter installation, export the net-snmp path in the $PATH variable. For example:export PATH=$PATH:/var/lib/net-snmp/binThen, test SNMP walk using the following command:snmpwalk -v
-c - For Windows servers, follow these steps for installation.
Plugin Installation
Supported versions: 1 and 2c
- Create a folder named idrac.
- Download the following files from our GitHub repository and place them in the idrac folder.
wget https://raw.githubusercontent.com/site24x7/plugins/master/idrac/idrac/idrac.pywget https://raw.githubusercontent.com/site24x7/plugins/master/idrac/idrac/idrac.cfgwget https://raw.githubusercontent.com/site24x7/plugins/master/idrac/idrac/SNMPUtil.py
- To check if the plugin is working, execute the command below with appropriate arguments and check for a valid JSON output with applicable metrics and their corresponding values.
python idrac.py --hostname "localhost" --snmp_version "2c" --snmp_community_str "public"
- Add the applicable configurations in the idrac.cfg file.
[idrac_main]hostname = "localhost"snmp_version = "2c"snmp_community_str = "public"
- Follow the steps in this article to learn how to run the Python script on a Windows server. This isn't needed for Linux.
- Move the idrac folder to the Site24x7 server monitoring plugin directory.
For Linux: /opt/site24x7/monagent/plugins/
For Windows: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\plugins/
The agent will automatically execute the plugin within five minutes and display performance data in Site24x7.
To view the plugin monitor and associated performance charts:
- Log in to Site24x7.
- Navigate to Plugins and click the required monitor.
Plugin Contribution
Feel free to contribute to our existing plugin integrations and come up with suggestions or feedback on our Community.
Related Plugins
- Out-of-the-box plugins - Monitor your entire app stack with our extensive list of integrations
- Write your own plugin - For Linux and Windows
- Lighttpd plugin - Monitor your Lighttpd web server metrics
- Twilio plugin - Ensure continued functionality of the Twilio platform
- Supervisord plugin - Monitor supervisor instances with Site24x7 plugins
- NGINX plugin - Expand your current NGINX monitoring to support additional features provided via NGINX Plus web server