View Single Post
Old 23rd November 2012, 23:05
Mark_NL Mark_NL is offline
Senior Member
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts

Ok, so from your reply we can assume the plugin works when run as root.
afaik see all files have the correct permissions to run this thing

maybe try:
sudo -u nagios /usr/lib64/nagios/plugins/check_mrtgtraf -F /var/www/html/mymrtg/ -a AVG -w 1000000,1000000 -c 5000000,5000000 -e 10
If that gives correct output, the error you told us about in your first post is either from an old log line or another object, because if the above is all true it SHOULD work.
If not, you forgot something to tell us
Real men don't backup... Real men cry!
Reply With Quote