Login

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

Importing service definitions with the same name
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Importing service definitions with the same name
#564
Re:Importing service definitions with the same name 1 Year, 6 Months ago Karma: 5
This issue is now fixed in SVN.
martin
NagiosQL Founder
Posts: 307
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#783
Re:Importing service definitions with the same name 1 Year, 5 Months ago Karma: 0
Hi Martin.
I saw you've fixed this issue in 3.0.2 but I have to tell you that I'm experiencing the same problem with 3.0.2p1.

Code:


define service{
        use                     snmp-service
        hostgroup_name          snmp-servers
        servicegroups           resource_monitoring
        service_description     Memory usage
        check_command           check_snmp_mem![i]somestring[/i]!95,0!99,0
        }

define service{
        use                     nrpe-service
        hostgroup_name          nrpe-servers
        service_description     Memory Usage
        check_command           check_nrpe!check_mem
        }



If i can remmember after importing this I had nrpe applied on snmp servers. I solved this spliting nrpe in separate config file.
Shedoks
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#787
Re:Importing service definitions with the same name 1 Year, 5 Months ago Karma: 5
Shedoks wrote:
Code:


define service{
        use                     snmp-service
        hostgroup_name          snmp-servers
        servicegroups           resource_monitoring
        service_description     Memory usage
        check_command           check_snmp_mem![i]somestring[/i]!95,0!99,0
        }

define service{
        use                     nrpe-service
        hostgroup_name          nrpe-servers
        service_description     Memory Usage
        check_command           check_nrpe!check_mem
        }



To reproduce, i copied this to a file called test.cfg. Then I import test.cfg to my NagiosQL3:

Code:

Eintrag config_name::test innerhalb tbl_service erfolgreich eingetragen
Eintrag config_name::test innerhalb tbl_service erfolgreich eingetragen



When I download the service configuration "test", it looks like:
Code:


###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.2
# Date:       2009-04-02 18:19: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 service {
hostgroup_name snmp-servers
service_description Memory usage
servicegroups resource_monitoring
use snmp-service
check_command check_snmp_mem![i]somestring[/i]!95,0!99,0
register 1
}

define service {
hostgroup_name nrpe-servers
service_description Memory Usage
use nrpe-service
check_command check_nrpe!check_mem
register 1
}

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################



So, I can't view any bug, sry...
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