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
Host group error for Recurring Downtime
Re: Host group error for Recurring Downtime
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.
"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.
Re: Host group error for Recurring Downtime
Do you get any errors when running
And then submitting the hostgroup command?
Code: Select all
tail -f /usr/local/nagiosxi/var/recurringdowntime.log
Re: Host group error for Recurring Downtime
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
#
###############################################################################
###############################################################################
#
# 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
#
###############################################################################
Re: Host group error for Recurring Downtime
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!
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!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host group error for Recurring Downtime
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
Thanks