Hello,
i have a question about the feature alerting and execute a script.
I need a context variable that contains the last log message.
You already have this in the email template.
Unfortunately not in the execute a script feature.
is there a way to implement this context variable
% Lastalertlog%
best regards
Sven
Alerting execute a script
Re: Alerting execute a script
As of the moment scripts can only be configured to use the following:
%count% - The total # of events
%status% - The status (ok, warning, critical)
%output% - The output from the alert
%lastrun% - The timestamp of the last run
I will add your information to a feature request to make %Lastalertlog% available for scripts.
%count% - The total # of events
%status% - The status (ok, warning, critical)
%output% - The output from the alert
%lastrun% - The timestamp of the last run
I will add your information to a feature request to make %Lastalertlog% available for scripts.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Alerting execute a script
Thanks 
Best regards
Sven.Z
Best regards
Sven.Z
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alerting execute a script
No problemSven.Z wrote:Thanks
Best regards
Sven.Z