# change user & password in passwd-file specified by /etc/nagios3/apache2.conf
# change nagiosadmin to the user chosen
sed -i s/"nagiosadmin"/"adr"/ /etc/nagios3/cgi.cfg
# Edit the disk.cfg file located in /etc/nagios-plugins/config and add the arguments
# -A -i '.gvfs'
# at the end of the command line arguments for the command check_disk and check_all_disks. 
service nagios3 restart

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.