[Nagiosplug-help] Re: check_mrttraf -f argument probs

Adam C. Acord acacord at wattslawfirm.com
Tue Apr 1 09:31:32 CEST 2003


Thanks for the idea, but...that didn't fix the problem.  All of the  
directories in the path are 755, so it should be ok.  Here's the  
command as it is written in the config file:

service[dev1]=Device1;0;24x7;10;5;5;admin;10;24x7;1;1;1;;check_mrtgtraf! 
/path/to/dev1/ 
192.168.1.1_261.log!10!AVG!62500000!10000000!62500000!10000000

Anyone have any ideas as to what the problem could be?

-aa

On Tuesday, April 1, 2003, at 02:07 AM, Geert Vanderkelen wrote:

> Hey Adam,
>
> Yeah, I got it solved and it was a permission problem :/
> On of the directories was not o+x, so the user running nagios couldn't
> get to it.. Like /patch/to/the/mrtg/data/for/switch1 and 'the' was not
> o+x..
>
> Works without much problem now.
>
> Best regards,
>
> Geert
>
> On Tue, 2003-04-01 at 01:55, Adam C. Acord wrote:
>> Geert-
>>
>>
>> Did you ever get this problem solved?  I just ran across your email,
>> as I am having the same problem.  If you have gotten the problem
>> solved, what was the solution?
>>
>>
>> Are you also using the check_mrtg plugin for anything?  If so, how is
>> it working for you?
>>
>>
>> Anxious to hear back from you,
>>
>>
>> -aa
>>
>> Adam C. Acord
>>
>> Assistant Director
>>
>> Department of Information Systems
>>
>> Watts Law Firm, L.L.P.
>>
>>
>> "Give a man a fish, you feed him for the day; teach him how to fish,
>> you feed him for a lifetime."   --Lao-tzu
>>
>>
>> <excerpt>From: Geert Vanderkelen
>> <<<underline><color><param>1998,1998,FFFE</param>gv at ypsilon.net</ 
>> color></underline>>
>>
>> To:
>> <underline><color><param>1998,1998,FFFE</param>nagios- 
>> users at lists.sourceforge.net</color></underline>
>>
>> Organization: Ypsilon.Net AG
>>
>> Date: 03 Mar 2003 17:09:46 +0100
>>
>> Subject: [Nagios-users] check_mrttraf -f argument probs
>>
>>
>> Hi,
>>
>>
>> check_mrtgtraf gives me headaches. I'm using the one of the
>>
>> netsaint-plugin package. Nagios plugin there doesn't really go..
>>
>>
>>
>> # check_mrtgtraf -f /path/to/mrtg/file/192.168.1.3_1.log -e 30 -A AVG  
>> \
>>
>> 	-w 307200,51200 -c 409600,614400
>>
>>
>> Works great on command line.
>>
>>
>> Running this same with parameters I get always 'Unable to open MRTG  
>> log
>>
>> file'. I've changed to the code and outputting the file when it says
>>
>> this message.. Permissions are ok since the webuser can even open this
>>
>> file.
>>
>> Putting this file into temp.. like /tmp/dlink.log gives me a '(No
>>
>> Output)' Information but status OK.
>>
>>
>> Totally lost here.. :(
>>
>>
>> thanks,
>>
>>
>> Geert
> -- 
> Geert Vanderkelen <gv at ypsilon.net>
> Ypsilon.Net AG
>





More information about the Help mailing list