i i kindof solved this ... i forgot to add exist codes in my pligin script .... nrpe ....only recognises exit codes !! On Tue, Feb 17, 2009 at 3:59 PM, DoOrsOfpErcEpTioN <msgcof...@yahoo.com>wrote:
> > or check out opsview.. > > http://www.opsview.org/ > > --- In linuxvadapav@yahoogroups.com <linuxvadapav%40yahoogroups.com>, > Gourav Joshi <gouravjo...@...> wrote: > > > > On Mon, Feb 9, 2009 at 12:20 PM, Agnello George > <agnello.dso...@...>wrote: > > > > > Hi > > > > > > i had writetn a small script ( plugin ) check_nmqt to tchk the > mailq of my > > > server the script runs with the following arg : > > > > > > #>/usr/lib/nagios/plugins/check_nmqt 10000 > .....................(enter) > > > > > > WARNING: mailq (12195) is above threshold > > > > > > in my /etc/nagiso.nrpe.cfg file i have the following setting > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_nmqt 10000 > > > > > > Now on nagios server when i run the command via nrpe it gives me > the same > > > output but however it does not send me a sms/email alert messages : > > > > > > # /usr/lib64/nagios/plugins/check_nrpe -H 202.162.251.151 -c > check_mailq > > > WARNING: mailq (12433) is above threshold > > > > > > how do i tell nrpe to send me sms / email with when the output is > "WARNING > > > " > > > > > > Thanks a lot !! > > > > > > -- > > > Regards > > > Agnello D'souza > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > > Hi, > > > > Use Centreon with nagios. this will help you to configure > easily to > > send alerts via mail or sms. Its a free tool (Open Source) > > > > > > > > > > Have a nice time, > > Gourav Joshi > > > > > > [Non-text portions of this message have been removed] > > > > > -- Regards Agnello D'souza [Non-text portions of this message have been removed]