Manually run custom command via nagios dashboard possible?

Andreas Ericsson ae at op5.se
Sat May 26 11:20:35 CEST 2012


top-post.
don't
Please

On 05/25/2012 05:19 PM, Ajay Jethani wrote:
> 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?
> 

The latter.

> 
> 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.
>>
> 


-- 
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.

------------------------------------------------------------------------------
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/
_______________________________________________
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