Page 1 of 1

Actions component

Posted: Thu Jul 25, 2013 11:40 am
by benhank
hello all!
If I try to associate an url in the actions component to a specific host, the new url does not show up in the quick actions field for that host.
It does not matter if I use the "ANY" or the "Hosts" option .

The actions component works perfectly for hostgroups.

Re: Actions component

Posted: Thu Jul 25, 2013 1:40 pm
by lmiltchev
We just posted a new document on Actions Component on the Nagios Library. See if this is going to help you solve your issue:

http://assets.nagios.com/downloads/nagi ... ponent.pdf

Re: Actions component

Posted: Thu Jul 25, 2013 1:54 pm
by benhank
ok I will thanks

Re: Actions component

Posted: Thu Jul 25, 2013 2:10 pm
by abrist
If you find anything wrong, or less than clear, let me know as this document is my problem :P

Re: Actions component

Posted: Thu Jul 25, 2013 2:25 pm
by benhank
the documentation is awesome!

but my issue is:
Capture4.JPG

Re: Actions component

Posted: Thu Jul 25, 2013 2:33 pm
by abrist
benhank wrote:the documentation is awesome!
Thanks, you should check out the event handler doc as well. That one took a while: http://assets.nagios.com/downloads/nagi ... ndlers.pdf
I will quote the Actions doc:
These options allow you to specify which objects will receive the action links in their details pages. You can limit the effected objects by
object type and group type. Additionally, the "Host" and "Service" fields are for regular expression patterns to match in the host or
service names of objects (you must wrap the regex with forward slashes). These options are additive, so using more than one of the
match criteria will only find objects that match all of the criteria.
For example, the following criteria:
Object Type: Any
Host: /192/
Service:
Hostgroup: linux-servers
Servicegroup:
Try:

Code: Select all

/localhost/
Cheers.

Re: Actions component

Posted: Thu Jul 25, 2013 2:51 pm
by benhank
that worked bro!