Nagios launch a process workflow

Discuss new project and feature ideas here.
See labs.nagios.com for new projects under development.

Nagios launch a process workflow

Postby cms1cd » Thu Aug 10, 2017 7:46 am

All,

We have a customer that wants to retire their large NMS system due to cost and complexity. Nagios is on the short list, but my customer's NMS includes a fairly sophisticated workflow component. Whenever they detect something wrong, they send the alert to this workflow engine and it executes a series of tasks with branches and sequels depending on the output of the last task(s).

Nagios Reactor looks like it did this, but it is not supported anymore according to the docs. Is anyone in this forum doing this? Would anyone like to do this? I have ideas on how I would do this, but want to get feedback from this group.
cms1cd
 
Posts: 2
Joined: Tue Jun 20, 2017 4:34 pm

Re: Nagios launch a process workflow

Postby mcapra » Thu Aug 10, 2017 9:12 am

Does the old NMS have a way in which those workflows/tasks could be executed programatically?

If so, for each host/service in Nagios, you could configure an event handler to kick-off the associated task in the "NMS workflow bot" for problem states:
https://assets.nagios.com/downloads/nag ... dlers.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The event handler would basically just be a script that says "start WorkflowX".
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3600
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios launch a process workflow

Postby dwhitfield » Thu Aug 10, 2017 9:42 am

Thanks @mcapra!

@cms1cd, are you using Core or XI? Ultimately, I'm not sure that question really matters at a high level, but it certainly will for the specifics.

We do offer consulting. If you'd be interested in that, please email sales@nagios.com

I don't really know the details of how they on-board customers, but you might also reach out to @eloyd about consulting. While we offer consulting, it's not something we do regularly. I suspect the logistics will be easier with someone that does consulting regularly. I have no idea about costs. That's something you'd need to email sales@nagios.com about on our side.

Obviously, we can leave this open for community perspectives as well.
Need additional support for CentOS or ubuntu? Try OpenLogic: https://www.openlogic.com/talk-to-expert

We can write Nagios plugins for you!

We are hiring: https://www.perforce.com/careers
dwhitfield
Former Nagios Staff
 
Posts: 4577
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN

Re: Nagios launch a process workflow

Postby cms1cd » Thu Aug 10, 2017 10:47 am

mcapra wrote:Does the old NMS have a way in which those workflows/tasks could be executed programatically?

If so, for each host/service in Nagios, you could configure an event handler to kick-off the associated task in the "NMS workflow bot" for problem states:
https://assets.nagios.com/downloads/nag ... dlers.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The event handler would basically just be a script that says "start WorkflowX".


Thanks mcapra. Have you ever seen anyone "chain" event handlers in a sophisticated workflow? For instance, I get an event and:

1) Fire handlerX, get the information back
2) If info is foo, fire handler Y if handler is bar fire handler Z and so on.

I am contemplating using a third party tool to handle the sophisticated workflow, but wanted to know if this capability existed in Nagios.

Update: additionally, the current workflow engine is going to go away. So, this won't be a matter of Nagios launching an event handler to hit a workflow engine. The engine needs to be replaced entirely.
Last edited by cms1cd on Thu Aug 10, 2017 12:00 pm, edited 1 time in total.
cms1cd
 
Posts: 2
Joined: Tue Jun 20, 2017 4:34 pm

Re: Nagios launch a process workflow

Postby scottwilkerson » Thu Aug 10, 2017 11:24 am

cms1cd wrote:
mcapra wrote:Does the old NMS have a way in which those workflows/tasks could be executed programatically?

If so, for each host/service in Nagios, you could configure an event handler to kick-off the associated task in the "NMS workflow bot" for problem states:
https://assets.nagios.com/downloads/nag ... dlers.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The event handler would basically just be a script that says "start WorkflowX".


Thanks mcapra. Have you ever seen anyone "chain" event handlers in a sophisticated workflow? For instance, I get an event and:

1) Fire handlerX, get the information back
2) If info is foo, fire handler Y if handler is bar fire handler Z and so on.

I am contemplating using a third party tool to handle the sophisticated workflow, but wanted to know if this capability existed in Nagios.


This doesn't exists natively in Nagios however you can write this logic in a wrapper script and use that as the event handler.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17667
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Ideas

Who is online

Users browsing this forum: No registered users and 2 guests