Skip to content

Commit 728a89e

Browse files
authored
Merge pull request #76 from it-novum/3.0.10
3.0.10
2 parents 50ef902 + 45bf045 commit 728a89e

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.9
1+
3.0.10

build/package/postinst.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ if [ -f /usr/bin/openitcockpit-agent ]; then
1414
if [ -d /lib/systemd/system/ ]; then
1515
# Debian / Ubuntu / Arch
1616
if [ ! -f /lib/systemd/system/openitcockpit-agent.service ]; then
17-
ln /etc/openitcockpit-agent/init/openitcockpit-agent.service /lib/systemd/system/openitcockpit-agent.service
17+
ln -s /etc/openitcockpit-agent/init/openitcockpit-agent.service /lib/systemd/system/openitcockpit-agent.service
1818
fi
1919
elif [ -d /usr/lib/systemd/system/ ]; then
2020
# RedHat / Suse
2121
if [ ! -f /usr/lib/systemd/system/openitcockpit-agent.service ]; then
22-
ln /etc/openitcockpit-agent/init/openitcockpit-agent.service /usr/lib/systemd/system/openitcockpit-agent.service
22+
ln -s /etc/openitcockpit-agent/init/openitcockpit-agent.service /usr/lib/systemd/system/openitcockpit-agent.service
2323
fi
2424
fi
25-
25+
2626
systemctl daemon-reload
2727
systemctl start openitcockpit-agent
2828
systemctl enable openitcockpit-agent
2929
else
30-
30+
3131
enableConfig="0"
3232
if [ ! -f /etc/init.d/openitcockpit-agent ]; then
3333
enableConfig="1"
34-
ln /etc/openitcockpit-agent/init/openitcockpit-agent.init /etc/init.d/openitcockpit-agent
34+
ln -s /etc/openitcockpit-agent/init/openitcockpit-agent.init /etc/init.d/openitcockpit-agent
3535
fi
36-
36+
3737
if [ "$enableConfig" == "1" ]; then
3838
if [ -x "$(command -v update-rc.d)" ]; then
3939
# Debian / Ubuntu
@@ -44,7 +44,7 @@ if [ -f /usr/bin/openitcockpit-agent ]; then
4444
chkconfig openitcockpit-agent on
4545
fi
4646
fi
47-
47+
4848
service openitcockpit-agent start
4949
fi
5050

@@ -78,7 +78,7 @@ if [ -f /Applications/openitcockpit-agent/openitcockpit-agent ]; then
7878
if [ "$enableConfig" == "1" ]; then
7979
/bin/launchctl load /Library/LaunchDaemons/com.it-novum.openitcockpit.agent.plist
8080
fi
81-
81+
8282
if [ ! -d "/Library/Logs/openitcockpit-agent" ]; then
8383
mkdir -p /Library/Logs/openitcockpit-agent
8484
fi

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// AgentVersion as the name says
17-
const AgentVersion = "3.0.9"
17+
const AgentVersion = "3.0.10"
1818

1919
// CustomCheck are external plugins and scripts which should be executed by the Agent
2020
type CustomCheck struct {

example/config_example.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ wineventlog = False
117117
# Since Version 3.0.9 WMI (Windows Management Instrumentation) will be used by default
118118
# As alternative the Agent could use the PowerShell Get-EventLog cmdlet.
119119
# The WMI method will maybe memory leak on Windows Server 2016. The PowerShell workaround
120-
# on the other hand could lead to blue screens (OA-40).
120+
# on the other hand could lead to blue screens (OA-40).
121121
wineventlog-method = WMI
122122
#wineventlog-method = PowerShell
123123

@@ -137,7 +137,7 @@ sensorstats = True
137137
dockerstats = False
138138

139139
# Check KVMs through libvirt
140-
# This requires to complie the openITCOCKPIT Monitoring Agent by yourself.
140+
# This requires to compile the openITCOCKPIT Monitoring Agent by yourself.
141141
# Please see the Wiki for instructions: https://github.com/it-novum/openitcockpit-agent-go/wiki/Build-binary
142142
libvirt = False
143143

@@ -163,7 +163,7 @@ enable-webserver = False
163163

164164
# Address of your openITCOCKPIT Server where the Agent will push the results to
165165
# Example: https://demo.openitcockpit.io
166-
url =
166+
url =
167167

168168
# Enable this option when your openITCOCKPIT server uses valid TLS certificates
169169
# like from Let's Encrypt
@@ -173,7 +173,7 @@ verify-server-certificate = False
173173
timeout = 1
174174

175175
# API-Key of your openITCOCKPIT Server
176-
apikey =
176+
apikey =
177177

178178
# Address of HTTP/HTTPS Proxy if required.
179179
# Leave blank to not use a proxy server

0 commit comments

Comments
 (0)