Creating Nagios Plugin Using TCL

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
anubhav65
Posts: 6
Joined: Fri Jan 03, 2014 5:57 am

Creating Nagios Plugin Using TCL

Post 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......
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Creating Nagios Plugin Using TCL

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked