thomas-krenn / check_lsi_raid

Monitoring plugin to check MegaRAID controllers
GNU General Public License v3.0
59 stars 26 forks source link

added -NoLog option for sub getControllerInfo #9

Closed roquelobo closed 7 years ago

roquelobo commented 7 years ago

running as user nagios even invoked by sudo, check_lsi_raid cannot clean its logs e.g. MegaSAS.log and CmdTool.log are written to /

only 'storcli adpallinfo' seems to produce logs, so suppress it by providing -NoLog option unless noCleanlogs is set.