Search found 5 matches

by meolic
Fri Apr 23, 2021 12:49 pm
Forum: Nagios XI
Topic: Notifications without changing the service status
Replies: 6
Views: 150

Re: Notifications without changing the service status

The bash script is located on Nagios XI server in /usr/local/nagios/libexec/scripts. Thus, your answer is applicable. Thank you.
by meolic
Fri Apr 23, 2021 12:26 am
Forum: Nagios XI
Topic: Notifications without changing the service status
Replies: 6
Views: 150

Re: Notifications without changing the service status

If is_volatile could be dynamically set and reset from the bash script... but this seems to be a wrong approach anyway. The passive checks may be the right directon. But, we do not have the experiences with them. Can anyone post a short receipt how the requested behaviour could be implemented with t...
by meolic
Thu Apr 22, 2021 11:44 pm
Forum: Nagios XI
Topic: Notifications without changing the service status
Replies: 6
Views: 150

Re: Notifications without changing the service status

You could enable is_volatile on the service: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/volatileservices.html Thank you for the suggestion. But, we do not want that the notification is sent everytime the service is checked - it is checked every minute! The notification must...
by meolic
Thu Apr 22, 2021 8:10 am
Forum: Nagios XI
Topic: Default Notification interval
Replies: 1
Views: 79

Default Notification interval

We have a service, where notification interval is not specified. No template is used for this service. The definition is as shown below. The question is, what is the default notification interval? In fact, we get re-notifications for this service every 2 hours. But, the server may be somehow changed...
by meolic
Thu Apr 22, 2021 8:03 am
Forum: Nagios XI
Topic: Notifications without changing the service status
Replies: 6
Views: 150

Notifications without changing the service status

We have a service in NagiosXI which is implemented via bash script. The script produces exit code 0, 1, or 2. It is called every minute. We want to get a notification if the bash script find something wrong. This works OK for the first time, the script just set exit status 2. But, in some cases, the...