Page 1 of 1

Warnings on Service defs incfg file

Posted: Sun Jul 31, 2016 12:15 pm
by kwhogster
Using the Box293 plugin for VMware Esxi monitoring
Nagios Core 4.1.1 on Ubuntu Server 16.04.1
I created a vmware.cfg located/usr/local/Nagios/etc/objects
updated /usr/local/nagios/etc/nagios.cfg to include the new cfg file vmware.cfg so far all good

I created services for this plugin and I get this warning on some of them

Warning: Service 'Guest Snapshots' on host 'SERV014' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'ESXi Version' on host 'ESXIHOSTVM' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.

Here are the definitions:

# Host OS Name and Version
define service {
host_name ESXIHOSTVM
service_description ESXi Version
check_command box293_check_vmware!$HOSTADDRESS$!Host_OS_Name_Version!!!!!!
initial_state u
max_check_attempts 3
check_interval 1440
retry_interval 7
active_checks_enabled 1
check_period 24x7
register 1
}
# Guest Snapshots
define service {
host_name SERV014
service_description Guest Snapshots
check_command box293_check_vmware!10.2.8.21!Guest_Snapshot!--guest!FileServer!--warning!snapshot_age:5!--critical!snapshot_age:10
initial_state u
max_check_attempts 3
check_interval 240
retry_interval 7
active_checks_enabled 1
check_period 24x7
register 1
}

is it my check_interval value?

Thoughts suggestions?

Thank you

Re: Warnings on Service defs incfg file

Posted: Sun Jul 31, 2016 1:50 pm
by kwhogster
changed to check_interval 1440 to check_interval 10

changed check_interval 240 to check_interval 10

Now no warnings

solved this

Re: Warnings on Service defs incfg file

Posted: Mon Aug 01, 2016 9:39 am
by tmcdonald
Looks like you solved a few things over the weekend! Mind if we lock this?

Re: Warnings on Service defs incfg file

Posted: Mon Aug 01, 2016 6:34 pm
by kwhogster
Yes this can be closed thanks