xymon-ext-scripts

Check-in [099856841f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix path to smartctl
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 099856841f2adb95c2e492863e0cd8611111bc91ba8b34224d499b61a6b5f44b
User & Date: feld@feld.me 2015-02-05 22:30:57
Context
2015-03-16
12:49
Shellcheck fixes check-in: 9141752393 user: feld@feld.me tags: master, trunk
2015-02-05
22:30
Fix path to smartctl check-in: 099856841f user: feld@feld.me tags: master, trunk
2015-01-29
17:25
add gmirror monitoring script check-in: 726c6b63c9 user: feld@feld.me tags: master, trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to smart.sh.

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
#        CMD $XYMONCLIENTHOME/ext/smart.sh
#        LOGFILE $XYMONCLIENTLOGS/smart.log
#        INTERVAL 5m
#
# You may also need to add something like this to your sudoers file:
# 
# Cmnd_Alias SMARTCTL = /usr/local/bin/smartctl
# xymon ALL=SMARTCTL, NOPASSWD: SMARTCTL
#
# Now restart the xymon client to start using it.

# Xymon doesn't have /usr/local in PATH
PATH=${PATH}:/usr/local/bin:/usr/local/sbin








|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
#        CMD $XYMONCLIENTHOME/ext/smart.sh
#        LOGFILE $XYMONCLIENTLOGS/smart.log
#        INTERVAL 5m
#
# You may also need to add something like this to your sudoers file:
# 
# Cmnd_Alias SMARTCTL = /usr/local/sbin/smartctl
# xymon ALL=SMARTCTL, NOPASSWD: SMARTCTL
#
# Now restart the xymon client to start using it.

# Xymon doesn't have /usr/local in PATH
PATH=${PATH}:/usr/local/bin:/usr/local/sbin