action_url not working

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
petronagios
Posts: 28
Joined: Tue Aug 16, 2011 8:02 am

action_url not working

Post by petronagios »

Hi, please can you help
I've been trying to configure an action_url on one of my services but it doesn't appear in the CGI, my service definition is below.

define service{
use generic-service,srv-pnp
host_name sbidpblenc21
service_description Chassis Status Pub
check_command check_hp_bladechassis!-C public --state --extinfo
check_interval 10
retry_check_interval 2
notification_options n
action_url https://sbidpblenc21
notes_url https://sbidpblenc21
}


This is the first time I've used action_url, the notes_url works fine
blade.png
many thanks, I'm using nagios core 3.4.1
Steve
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: action_url not working

Post by tmcdonald »

The action_url button should be that graph icon with the red line.
Former Nagios employee
petronagios
Posts: 28
Joined: Tue Aug 16, 2011 8:02 am

Re: action_url not working

Post by petronagios »

Hi Sorry for the long delay in replying, thanks for your answer.

Is it possible to change the action or notes icon for each server or service? I would like to perform different actions depending on the check and display a more descriptive icon?

Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: action_url not working

Post by abrist »

petronagios wrote:Is it possible to change the action or notes icon for each server or service?
Not easily. They are programmatically added. You could change the icon for those functions, but it will be duplicated to all objects.
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.
Locked