Unable to open MRTG log file

Dei Bertine deibertine at yahoo.com
Mon May 18 22:50:19 CEST 2009



Hi folks, 

I've been getting these messages from my nagios page under mrtg: "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to figure it out why?

here's my config file:
# Monitor Port 1 Bandwidth Usage
define service{
        use                     mrtg-service
        host_name               ciscoasa-firewall
        service_description     SDFWPORT1_BAND_USE
        check_command           check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10
        }

When I launch the command manually, same error. 

Here's my command looks like:
# 'check_local_mrtgtraf' command definition
define command{
        command_name    check_local_mrtgtraf
        command_line    $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$
        }

Please someone advise. 

Thank you! 
DB



________________________________


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090518/a4f4dbe4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
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