Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos
Commits
c9d3ba4f
Commit
c9d3ba4f
authored
Jun 10, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Listen on standard port and expose all required information.
parent
bc6269a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/recipe/zabbixagent/__init__.py
slapos/recipe/zabbixagent/__init__.py
+3
-1
No files found.
slapos/recipe/zabbixagent/__init__.py
View file @
c9d3ba4f
...
@@ -93,7 +93,7 @@ class Recipe(BaseSlapRecipe):
...
@@ -93,7 +93,7 @@ class Recipe(BaseSlapRecipe):
ip
=
self
.
getGlobalIPv6Address
(),
ip
=
self
.
getGlobalIPv6Address
(),
server
=
self
.
parameter_dict
[
'server'
],
server
=
self
.
parameter_dict
[
'server'
],
hostname
=
self
.
parameter_dict
[
'hostname'
],
hostname
=
self
.
parameter_dict
[
'hostname'
],
port
=
'
4567
'
port
=
'
10050
'
)
)
zabbix_agentd_conf
=
self
.
createConfigurationFile
(
"zabbix_agentd.conf"
,
zabbix_agentd_conf
=
self
.
createConfigurationFile
(
"zabbix_agentd.conf"
,
pkg_resources
.
resource_string
(
__name__
,
pkg_resources
.
resource_string
(
__name__
,
...
@@ -108,4 +108,6 @@ class Recipe(BaseSlapRecipe):
...
@@ -108,4 +108,6 @@ class Recipe(BaseSlapRecipe):
(
'zabbixagentd'
,
__name__
+
'.svcdaemon'
,
'svcdaemon'
)],
(
'zabbixagentd'
,
__name__
+
'.svcdaemon'
,
'svcdaemon'
)],
self
.
ws
,
sys
.
executable
,
self
.
wrapper_directory
,
arguments
=
[
dict
(
self
.
ws
,
sys
.
executable
,
self
.
wrapper_directory
,
arguments
=
[
dict
(
real_binary
=
wrapper
,
pid_file
=
zabbix_agentd
[
'pid_file'
])]))
real_binary
=
wrapper
,
pid_file
=
zabbix_agentd
[
'pid_file'
])]))
self
.
setConnectionDict
(
dict
(
ip
=
zabbix_agentd
[
'ip'
],
name
=
zabbix_agentd
[
'hostname'
],
port
=
zabbix_agentd
[
'port'
]))
return
self
.
path_list
return
self
.
path_list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment