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:
Code:
sudo -u nagios /usr/lib64/nagios/plugins/check_mrtgtraf -F /var/www/html/mymrtg/10.0.1.1_2.log -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
Recent comments
7 hours 18 sec ago
11 hours 59 min ago
13 hours 25 min ago
14 hours 18 min ago
16 hours 1 min ago
20 hours 24 min ago
21 hours 16 min ago
23 hours 30 min ago
1 day 12 hours ago
1 day 14 hours ago