Multiple action URL

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
Spinsq
Posts: 14
Joined: Fri Oct 03, 2014 9:53 am

Multiple action URL

Post by Spinsq »

Hi,

I am new to Nagios and require some assistance. I want to have multiple action_url linked to a host.
I have searched on google and the closest I could get to a solution was
http://exchange.nagios.org/directory/Pa ... ch/details

But I have no idea on how to implement this. What do I need to do with the file?

Anyone can help me to get started?

Thanks a lot in advance!

Best Regards!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Multiple action URL

Post by abrist »

I would doubt that that patch is directly compatible with the current versions of core. Do you have need for more than 1 url at this time? If not, you may just want to look at using the current action_url directive.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Spinsq
Posts: 14
Joined: Fri Oct 03, 2014 9:53 am

Re: Multiple action URL

Post by Spinsq »

Hi abrist,

Thank you for your quick reply. I need to have more then 1 action url (atleast 3).
Just for your information I am using Version 3.5.1
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Multiple action URL

Post by abrist »

Well, you could try applying the patch to the source of 3.5.1. If it fails, you will have to patch it manually by merging the lines/changes from the patch into the source through a text editor.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Spinsq
Posts: 14
Joined: Fri Oct 03, 2014 9:53 am

Re: Multiple action URL

Post by Spinsq »

Thanks for you input abrist!
The problem is I have no idea how to do the patch... How do I install/implement it??

Thanks in advance!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Multiple action URL

Post by tmcdonald »

Applying an old patch to new code is not a simple point-and-click solution. Essentially you would need to see what the old patch did, find the respective lines in the new source code for Core, write them in using a text editor, and then re-compile. We can't really say for sure what side-effects this might have.
Former Nagios employee
Locked