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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to smart.sh.

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