Hi,
I am passing the following macros to an action script, all of them are correctly replaced with the expected values except %hostproblemid% and %serviceproblemid%.
For a host : '%hostid%' '%hostname%' '%hoststateid%' '%hoststatustext%' '%hostproblemid%'
For a service : '%hostid%' '%hostname%' '%servicename%' '%servicestateid%' '%servicestatustext%' '%serviceproblemid%'
Do you have an idea why that might be?
Thanks in advance for your help.
Issue with host & service problemid in Actions Component
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issue with host & service problemid in Actions Component
The actions component doesn't have those macros available, see a comprehensive list here starting on page 12
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you would like I can put in a feature request to see if it's possible to add that to the component in a future release
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you would like I can put in a feature request to see if it's possible to add that to the component in a future release
Re: Issue with host & service problemid in Actions Component
Oh OK, thanks, I totally missed that.
That would be great if you could open a feature request regarding the addition of those macors to the actions component, I'm pretty sure it can be useful to other people than me.
We have an action script that generates tickets in our ticket manager using the actions component whenever a technician decides to.
I wanted to add these macros to tickets and email alerts sent by Nagios in order to better track alerts.
That would be great if you could open a feature request regarding the addition of those macors to the actions component, I'm pretty sure it can be useful to other people than me.
We have an action script that generates tickets in our ticket manager using the actions component whenever a technician decides to.
I wanted to add these macros to tickets and email alerts sent by Nagios in order to better track alerts.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issue with host & service problemid in Actions Component
I agree, feature requested.ghugon wrote:I'm pretty sure it can be useful to other people than me.
Locking thread