added service description and add_hostgroup_rules
This commit is contained in:
@@ -38,7 +38,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# CentOS servers
|
||||
@@ -65,7 +65,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# SuSE servers
|
||||
@@ -78,7 +78,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Unix servers
|
||||
@@ -91,7 +91,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Solaris servers
|
||||
@@ -104,7 +104,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# AIX servers
|
||||
@@ -117,7 +117,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Windows servers
|
||||
@@ -130,7 +130,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Netware servers
|
||||
@@ -143,7 +143,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# DB servers
|
||||
@@ -156,7 +156,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Oracle servers
|
||||
@@ -169,7 +169,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# MySQL servers
|
||||
@@ -182,7 +182,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# MSSQL servers
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# NOSQL servers
|
||||
@@ -208,7 +208,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
# Hadoop servers
|
||||
@@ -221,7 +221,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
register => '1',
|
||||
target => $ng_target_hostgroup,
|
||||
target => $ng_target_hostgroup_base,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user