NagiosPluginForNfsstat

From T2B Wiki
Jump to navigation Jump to search

Development page for nagios plugin to monitor nfsstat

  • This plugins consists of two parts
  • Part1:
    • nfsstat_poller.sh located in /joris on jefke.wn
    • makes a little 'database' with the output of nfsstat over a certain time-period
    • database file located in /user/jmmaes/nfsstatdb
    • script is executed with a cronjob: * * * * * /joris/nfsstat_poller.sh 20 in /var/spool/cron/crontabs/root
  • Part2:
    • nagios nrpe plugin /usr/lib64/nagios/plugins/check_nfsstat on m0
    • ./check_nfsstat stat pct warnlevel critlevel
    • define it in /etc/nagios/nrpe_commands.cfg


Template:TracNotice