Warnings on Service defs incfg file

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Warnings on Service defs incfg file

Post 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
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Warnings on Service defs incfg file

Post by kwhogster »

changed to check_interval 1440 to check_interval 10

changed check_interval 240 to check_interval 10

Now no warnings

solved this
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Warnings on Service defs incfg file

Post by tmcdonald »

Looks like you solved a few things over the weekend! Mind if we lock this?
Former Nagios employee
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Warnings on Service defs incfg file

Post by kwhogster »

Yes this can be closed thanks
Locked