Manually run custom command via nagios dashboard possible?
Ajay Jethani
ajay.jethani at redlinetrading.com
Fri May 25 17:19:43 CEST 2012
Is there a recommended or a sample framework (outside of nagios) that would
be useful in implementing that page or is the page that it would point to
something that is mostly home-grown by developers?
On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson <ae at op5.se> wrote:
> On 05/25/2012 03:29 PM, Ajay Jethani wrote:
> > I'd like the nagios dashboard to allow me to run commands MANUALLY when I
> > see there is an issue.
> > For example, when a service goes into the 'CRITICAL state' I would check
> > the dashboard and do a sanity check by looking at the performance output
> > and perhaps even log onto the machine. I'd like to keep the dashboard
> open
> > and click a hyperlink that executes a command that I choose on the remote
> > machine.
> >
> > I know there is the concept of event handlers which can AUTOMATICALLY
> > execute a command when a service check returns a failure, but I'd prefer
> to
> > do this type of healing manually.
> >
> > Does nagios offer an ability to run a custom command/script I choose via
> > the dashboard?
> >
>
> No. That would be akin to building in a secure shell client into Nagios,
> which is something we'll most likely never (ever) do.
>
> Most people who've wanted to do similar things make a separate page for
> it, point action_url or notes_url to that page, and then handle stuff
> in a script of their own.
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Tel: +46 8-230225 Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120525/08b31b79/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list