sensu-plugins / sensu-plugins-raid-checks

Sensu RAID array checks
http://sensu-plugins.io
MIT License
1 stars 21 forks source link

for arcconf that needs root privileges to run #10

Closed neidiom closed 7 years ago

neidiom commented 7 years ago

I use arcconf for Debian from this repository http://hwraid.le-vert.net/wiki/DebianPackages which installs the binary at /usr/sbin/arcconf and when run it you get error 'Could not open log file: /var/log/UcliEvt.log' which is solved with sudo.

Pull Request Checklist

Is this in reference to an existing issue?

General

New Plugins

Purpose

Known Compatablity Issues

eheydrick commented 7 years ago

Rather than duplicating code I think a better approach would be to run the entire check under sudo.