Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
install_zabbix_agent_win
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rinat K. Nugaev
install_zabbix_agent_win
Commits
1311e390
Commit
1311e390
authored
Jun 09, 2018
by
Rinat K. Nugaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace install Zabbix command to New-Service command...
parent
d3edc1d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
zabbix_install.ps1
+2
-1
No files found.
zabbix_install.ps1
View file @
1311e390
...
...
@@ -84,7 +84,8 @@ HostMetadataItem=system.uname
Add-Content
-Value
"
$confcont
"
-Path
$ZabbixConf
#Installing zabbix agent as a service
&
"c:\Program Files\Zabbix\bin\win64\zabbix_agentd.exe"
--config
"c:\Program Files\Zabbix\conf\zabbix_agentd.conf"
--install
New-Service
-Name
"Zabbix Agent"
-BinaryPathName
'"C:\Program Files\Zabbix\bin\win64\zabbix_agentd.exe" --config "C:\Program Files\Zabbix\conf\zabbix_agentd.conf"'
`
-DisplayName
"Zabbix Agent"
-Description
"Provides system monitoring"
-StartupType
"Automatic"
-ErrorAction SilentlyContinue
#Starting zabbix agent
Get-service
-name
"Zabbix Agent"
|
start-service
...
...
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