Page 1 of 1

Alert triggering every friday for the particular service

Posted: Fri Mar 05, 2021 12:13 am
by informatica
Hi Team,

we need help on the alert triggering for the particular service.
Ex: we have one service and the service should trigger alert on every friday on certain time irrespective of Warning or critical or OK. Could you please help on this.

Re: Alert triggering every friday for the particular service

Posted: Fri Mar 05, 2021 5:32 pm
by ssax
If you're really referring to an alert instead of a notification you could just submit a problem result on a cron job:

https://assets.nagios.com/downloads/nag ... and_id=114

Nagios will only send notifications on state changes:

https://assets.nagios.com/downloads/nag ... tions.html

You'd probably be better of doing something like this as a cron job if you want a notification:

https://assets.nagios.com/downloads/nag ... and_id=135


Those could also be submitted via the API as well, see here on your system:

http://YOURXISERVER/nagiosxi/help/api-s ... re-command


Will those meet your needs?