Prerequisite
- Ensure that the executable Nagios plugin is present in the server.
Plugin Execution
- A file named 'nagios_plugins.json' is present under the Linux plugins directory - '/opt/site24x7/monagent/plugins'.
- Edit the file to include the path to the Nagios script that you want the agent to execute.
- Once configured, the Site24x7 Linux agent will execute the Nagios plugin and push the data to the Site24x7 server every 5 minutes.
Here is a sample configuration:
              
                                    {
                                    			
                                    "nagios": [
                                    						
                                    "/usr/local/nagios/libexec/check_ping -H localhost -w 1,1% -c 1,1% -p 5 -t 10 -4",
                                    		
                                    "/usr/local/nagios/libexec/check_load -r"
                                    ]
                                    		
                                    }	
              
              check_load: A Nagios plugin which checks the system load average
              check_ping: A Nagios plugin which checks the server availability, packet loss and round trip average
              Licensing
Each nagios plugin specified in 'nagios_plugins.json' will be billed as a basic monitor.
Related Plugin Integrations
- MySQL Monitoring
- Redis Monitoring
- MongoDB Monitoring
- Memcached Monitoring
- Other Integrations
- Create custom plugins - Linux and Windows