Search found 8 matches

by tredlightly
Thu Apr 30, 2015 10:33 am
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

Not at all. Please feel free to do so. Thanks again, very much appreciated.
by tredlightly
Thu Apr 30, 2015 6:43 am
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

Thanks for the advice. I will put it to good use.
by tredlightly
Wed Apr 29, 2015 3:59 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

Thank you for your diligence and corroboration on how nagios should run (as long as the user is doing what they are saying they are doing). I did find the issue, and, I believe, you questioned me about it earlier in this thread. Nagios was _not_ being restarted. Someone, or somehow, the pid file (in...
by tredlightly
Tue Apr 28, 2015 6:09 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

We do have customized locations in case that factors in: $ pwd /u02/nagios/var/nagios nagios]$ grep -n nss-app2 objects.cache 301: members nss-app1,nss-app2,nss-app3,nss-app4 401: host_name nss-app2 Hostgroup first, host afterward. This is the block for the 301 line reference: define hostgroup { hos...
by tredlightly
Tue Apr 28, 2015 4:52 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

Understood. Our configurations use the cfg_dir directive for this directory: /etc/nagios/objects/custom We do use the 'install' command to implement the change, which we also use the 'backup' option in it, so we do have files like this, nss_app_hosts.cfg~ (with an appended tilde). My understanding w...
by tredlightly
Tue Apr 28, 2015 3:04 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

It is restarting. It uses /etc/init.d/nagios restart I've also tried /etc/init.d/nagios reload and /etc/init.d/nagios force-reload all to no avail. I grep for the existence of the nss-app2 in this set; Here's the egrep for the bang solution: sudo egrep 'members|nss-app2' /u02/nagios/var/nagios/reten...
by tredlightly
Tue Apr 28, 2015 2:54 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

Re: remove host from hostgroup but it still gets service che

Host definition, which I do not remove: define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name nss-app2 alias nss-app2 ; see if we can use /etc/hosts a...
by tredlightly
Tue Apr 28, 2015 2:00 pm
Forum: Open Source Nagios Projects
Topic: remove host from hostgroup but it still gets service checks
Replies: 14
Views: 5904

remove host from hostgroup but it still gets service checks

Nagios version is Core: 4.0.8-2 I have defined a set of shared service checks using a hostgroup. I want to use the hostgroup so that I can remove a host from it and have the service checks continue for the remaining hosts. However, when I remove the host from the hostgroup, nagios continues to monit...