Host group error for Recurring Downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Host group error for Recurring Downtime

Post by rdhall01 »

I have a user that has multiple host groups that has created Recurring Downtime for maintenance. 1 hostgroup gets the folowing error when trying to create it (The hostgroup you specified is not valid for your user account.) I have gone thru all the hosts in the group and the correct contact group is added (also the correct contacts are in the contact group) just like the other 5 or 6 host groups that are working? I tried creating another group ading the hosts, but the same error exists any ideas on how to resolve it. I do not think its a name issue i will display working and non working
working
EAM-Cognos-RNET3 - 7 hosts
EAM-Cognos-RNET5 - 18 hosts

not working
EAM-Cognos-RNET6 - 15 hosts
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host group error for Recurring Downtime

Post by abrist »

Could you post the config for one of the working hosts and one of non-working hosts? (you can download the config by clicking the "disk" icon next to the host in the XI CCM)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host group error for Recurring Downtime

Post by mguthrie »

Do you get any errors when running

Code: Select all

tail -f /usr/local/nagiosxi/var/recurringdowntime.log
And then submitting the hostgroup command?
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: Host group error for Recurring Downtime

Post by rdhall01 »

working
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-04-22 09:27:32
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define host {
host_name rnet5br01
use xiwizard_windowsserver_host
alias rnet5br01
address XXX.XXX.XXX.XXX
check_command check-host-alive!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
event_handler xi_host_notification_handler
process_perf_data 1
contact_groups EAM_Cognos
notification_interval 60
notification_period 24x7
notification_options d,u,r
notifications_enabled 1
icon_image win_server.png
statusmap_image win_server.png
_xiwizard windowsserver
register 1
}

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################


Not working

###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-04-22 09:24:19
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define host {
host_name rnet6br01
use xiwizard_windowsserver_host
alias rnet6br01
address XXX>XXX>XXX>XXX
check_command check-host-alive!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
event_handler xi_host_notification_handler
process_perf_data 1
contact_groups EAM_Cognos
notification_interval 60
notification_period 24x7
notification_options d,u,r
notifications_enabled 1
icon_image win_server.png
statusmap_image win_server.png
_xiwizard windowsserver
register 1
}

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: Host group error for Recurring Downtime

Post by rdhall01 »

information form the the log file
cat /usr/local/nagiosxi/var/recurringdowntime.log

nd=23;nm=3;ny=113
Current candidate(dow): 00:00 on 23/4/2013
Current candidate: 00:00 on 23/4/2013
Scheduling hostgroup EAM-Cognos-RNET5
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
Already scheduled!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host group error for Recurring Downtime

Post by scottwilkerson »

It would likely help to see a full configuration snapshot, could you open a ticket sending that to xisupport@nagios.com including a link to this thread.

Thanks
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked