Login

Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

service groups not aware of inactive host/service
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: service groups not aware of inactive host/service
#818
Re:service groups not aware of inactive host/service 1 Year, 5 Months ago Karma: 0
Both files dates (from the file system) are from after the config change. I've been issuing both write commands ('monitoring data' and the 'additional data' ) during testing.

After deactivating a host I get this response at the bottom of the hosts page:

The associated, now obsolete, configuration files were deleted successfully!

That was done at 4/7/09 10:58 AM PST.

After waiting a couple of minutes and using both write commands, here are my time stamps from the file system:

drwxrwxr-x 5 nagios nagios 4096 Apr 7 11:00 .
drwxrwxr-x 9 nagios nagios 4096 Apr 6 15:52 ..
drwxrwxr-x 4 nagios nagios 69632 Apr 7 11:00 backup
-rw-r--r-- 1 apache apache 21631 Apr 7 11:00 commands.cfg
-rw-r--r-- 1 apache apache 3599 Apr 7 11:00 contactgroups.cfg
-rw-r--r-- 1 apache apache 10880 Apr 7 11:00 contacts.cfg
-rw-r--r-- 1 apache apache 3357 Apr 7 11:00 contacttemplates.cfg
-rw-r--r-- 1 apache apache 973 Apr 7 11:00 hostdependencies.cfg
-rw-r--r-- 1 apache apache 664 Apr 7 11:00 hostescalations.cfg
-rw-r--r-- 1 apache apache 682 Apr 7 11:00 hostextinfo.cfg
-rw-r--r-- 1 apache apache 6671 Apr 7 11:00 hostgroups.cfg
drwxrwxr-x 2 nagios nagios 12288 Apr 7 10:58 hosts
-rw-r--r-- 1 apache apache 8790 Apr 7 11:00 hosttemplates.cfg
-rw-r--r-- 1 apache apache 668 Apr 7 11:00 servicedependencies.cfg
-rw-r--r-- 1 apache apache 670 Apr 7 11:00 serviceescalations.cfg
-rw-r--r-- 1 apache apache 688 Apr 7 11:00 serviceextinfo.cfg
-rw-r--r-- 1 apache apache 13535 Apr 7 11:00 servicegroups.cfg
drwxrwxr-x 2 nagios nagios 4096 Apr 6 15:52 services
-rw-r--r-- 1 apache apache 12178 Apr 7 11:00 servicetemplates.cfg
-rw-r--r-- 1 apache apache 7039 Apr 7 11:00 timeperiods.cfg


And the error I get running the config check:

Error: Could not find a service matching host name 'xxxxxxx40' and description 'uptime' (config file '/usr/local/nagios/etc/nagiosql/servicegroups.cfg', starting on line 35)
Error: Could not expand member services specified in servicegroup (config file '/usr/local/nagios/etc/nagiosql/servicegroups.cfg', starting on line 35)

Line 35 of servicegroups.cfg:

define servicegroup {
servicegroup_name server-uptime
alias Uptime for each server
members xxxxx40,uptime,xxxxxx155,uptime,xxxxxx165,uptime

}


Regards,

-greg
gjfrater
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#820
Re:service groups not aware of inactive host/service 1 Year, 5 Months ago Karma: 5
Ok, thanks - we will analyse (and fix) that
martin
NagiosQL Founder
Posts: 307
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#825
Re:service groups not aware of inactive host/service 1 Year, 4 Months ago Karma: 2
Hi greg,
I have opened a ticket for your problem and you will get a notice as soon this issue is fixed.

www.nagiosql.org/_mantis/view.php?id=227

Cheers,
Rouven
rouven
NagiosQL Developer
Posts: 255
graphgraph
User Offline Click here to see the profile of this user
47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The administrator has disabled public write access.
 
#829
Re:service groups not aware of inactive host/service 1 Year, 4 Months ago Karma: 0
Got it. Thanks guys, you provide better service and response time than we get from some of our paid for software. Well done.

-greg
gjfrater
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#843
Re:service groups not aware of inactive host/service 1 Year, 4 Months ago Karma: 5
This is fixed in upcoming 3.0.3
martin
NagiosQL Founder
Posts: 307
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12