check_mrttraf -f argument probs

Subhendu Ghosh sghosh at sghosh.org
Wed Mar 5 06:14:58 CET 2003


On 3 Mar 2003, Geert Vanderkelen wrote:

> 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
> 
> 

Is the webuser the same as the nagios user?  and is the /path/to/file 
accessible as well?


-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list