I currently have a check setup with the following settings.
define service {
host_name servername
service_description MSSQL Query - ImageNow Extern Messaging
use xiwizard_mssqlquery_service
check_command check_xi_mssql_query! "Expected result" --decode --warning 50 --critical 200 --querywarning 30000 --querycritical 31000 --result Expected result!!!!!!!
is_volatile 1
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
check_freshness 1
flap_detection_enabled 0
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 30
first_notification_delay 0
notification_period xi_timeperiod_24x7
notification_options c,u,r,f,
notifications_enabled 1
contact_groups usergroup1,usergroup2,usergroup3
_xiwizard mssql_query
register 1
}
But for some reason I am receiving notifcications from nagios every 6 minutes instead of 30. Templates that are associated with this service check also have a 30 minute notification interval. Can you help me understand why this is the case?
Notification time not followed?
Re: Notification time not followed?
I don't see an obvious reason for the behavior your'e describing. Are the notifications all the same, ie all CRITICAL or WARNING notifications with the same details?
Please send me a copy of a profile as well as a copy of the ccm database in a private message. A profile can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip.
If the default database is being used then it can be gathered from the command line with:
If the database has been offloaded to another machine then you'll need to modify the commands slightly to look like:
Please send me a copy of a profile as well as a copy of the ccm database in a private message. A profile can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:
Code: Select all
/usr/local/nagiosxi/scripts/components/getprofile.sh 60655If the default database is being used then it can be gathered from the command line with:
Code: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sqlCode: Select all
mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sqlAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Notification time not followed?
Profile and database have been sent via PM.
Re: Notification time not followed?
The service is configured as a volatile service. This means a it behaves differently in a few ways. One of them being that each time it is checked and found to be in a hard non-OK state, notifications are sent and notification intervals are ignored.
https://assets.nagios.com/downloads/nag ... vices.html
https://assets.nagios.com/downloads/nag ... vices.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.