Hi team,
Our technical teams have over a period created some custom scripts for infrastructure monitoring (OS+DB+App) and some scripts for Reporting as well in multiple languages and are currently looking at the feasibility of adapting them/build on to create custom plugins for nagios instead on running them as a standalone script.
The scripts are developed in below language:
Shell
Perl
Java
Batch
Power Shell
HTML
Please help us with any artifacts/case studies you have in creating plugins to be executed using nagios from standalone scripts.
Custom plugins
Custom plugins
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: Custom plugins
Have them read the following doc to make sure the plugins are Nagios-compliant:
https://nagios-plugins.org/doc/guidelines.html
And then this one to show how to add new plugins to Nagios and make them proper commands:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
https://nagios-plugins.org/doc/guidelines.html
And then this one to show how to add new plugins to Nagios and make them proper commands:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Former Nagios employee
Re: Custom plugins
Thanks for the reply.
Are the languages stated in the above post compatible with Nagios?
Are the languages stated in the above post compatible with Nagios?
Thanks & Regards,
I2MP Team.
I2MP Team.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Custom plugins
The short answer is yes, however the items that run on Windows would need to be called through an agent such as NSClient++
Re: Custom plugins
Pretty much any language can be used to write plugins for Nagios, as long as it can provide output to stdout.
HTML, however, is not a programming language and cannot be used to write plugins.
HTML, however, is not a programming language and cannot be used to write plugins.
Former Nagios employee