Unable to remove hostgroup from host
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to remove hostgroup from host
Ok, that's cropped, but it does tell us you are using something 5.3.4 or after. Did you try to PM the profile? If so, I never got a PM from you.
If you don't want to send the entire profile, you can unzip it and just attach that serviceescalation.cfg file. You'll also need to unpack the .tar.gz that has a series of numbers before the file extension.
UPDATE: Profile received and shared with techs.
If you don't want to send the entire profile, you can unzip it and just attach that serviceescalation.cfg file. You'll also need to unpack the .tar.gz that has a series of numbers before the file extension.
UPDATE: Profile received and shared with techs.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to remove hostgroup from host
The escalation in question is the following. Is that hostgroup the one you are trying to remove? You'll need to remove the service escalation first, if so.
Code: Select all
define serviceescalation {
# config_name TSR Service's Check_lv2
hostgroup_name TouchStar Prod Servers
service_description Service: All disks,Service: CPU Usage,Service: Memory Usage
contact_groups SERVER ADMINS,TOUCHSTAR
first_notification 4
last_notification 9
notification_interval 60
escalation_period 24x7
escalation_options w,c,r,
}
Re: Unable to remove hostgroup from host
I was actually trying to remove the host group called "WolfePak Prod Servers" from the host called WOLFEPAK-PROD. When I do so i get....
Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 232)
Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 232)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to remove hostgroup from host
If you had an escalation around this, you may need to remove the related escalation as well.chelch wrote:I was actually trying to remove the host group called "WolfePak Prod Servers" from the host called WOLFEPAK-PROD. When I do so i get....
Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 232)
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to remove hostgroup from host
In addition to @scottwilkerson's comment, the escalation in question is as follows:
Code: Select all
define serviceescalation {
# config_name WOLFEPAK Service's Check_lv2
hostgroup_name WolfePak Prod Servers
service_description Service: All disks,Service: CPU Usage,Service: Memory Usage
contact_groups SERVER ADMINS,WOLFEPAK
first_notification 4
last_notification 9
notification_interval 60
escalation_period 24x7
escalation_options w,c,r,
}
Re: Unable to remove hostgroup from host
So how would I go about deleting that escalation so I can remove that hostgroup from that specific host?
When I click the delete button on the service escalation nothing happens...almost like the delete button is broken.
When I click the delete button on the service escalation nothing happens...almost like the delete button is broken.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to remove hostgroup from host
Are you applying the configuration after you delete? Please attach a screenshot of where you are trying to delete the service escalation.
Re: Unable to remove hostgroup from host
Pressing delete button actually does nothing so I cant apply anything. Here is where I am trying to delete.
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to remove hostgroup from host
Are you clicking the red X or checking the box and then using the delete option at the bottom? If you haven't tried both, try the other. Have you tried any other browsers?
Re: Unable to remove hostgroup from host
Well....using the delete option at the bottom works great and the red X does not. That is my bad. Just wasn't looking down there at the bottom. Thanks for the help!