Page 1 of 1

Creating Nagios Plugin Using TCL

Posted: Thu Mar 13, 2014 12:51 am
by anubhav65
Hi....Actually I am new to Nagios and I want to integrate my TCL script into it , so that if any error occurs when running my script ,I am able get a notification out of Nagios to my mail , can anybody help me with this, I have seriously no clue how to do it......

Re: Creating Nagios Plugin Using TCL

Posted: Thu Mar 13, 2014 9:30 am
by sreinhardt
You probably want to have a look at the plugin development guidelines. Specifically, you would want to output a message for nagios to email you and an exit code from 0-3 for your various errors depending on severity.