Hello All,
i have installed nagios-3.4.4
nagios-plugins-1.4.16
but when i configured it to monitor the switch using http://nagios.sourceforge.net/docs/3_0/ ... uters.html
it is giving me this error for bandwidth usuage.
Can some one help me with this?
thanks
check_mrtgtraf: Unable to process MRTG log file..
-
nagios@ios
- Posts: 19
- Joined: Wed Feb 06, 2013 5:09 pm
-
nagios@ios
- Posts: 19
- Joined: Wed Feb 06, 2013 5:09 pm
Re: check_mrtgtraf: Unable to process MRTG log file..
i checked the /var/lib/ and there was no 'mrtg' . So i created directory named 'mrtg' and than created a file name myipaddress_1.log;
After than i run
crontab -e
and place the line ..
*/5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg –logging /var/log/mrtg.log
but still get the same error.
ichecked that myipaddress_1.log file but nothing is being written there. its empty.
After than i run
crontab -e
and place the line ..
*/5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg –logging /var/log/mrtg.log
but still get the same error.
ichecked that myipaddress_1.log file but nothing is being written there. its empty.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_mrtgtraf: Unable to process MRTG log file..
What is the error you are receiving? It doesn't show in your first post.
-
nagios@ios
- Posts: 19
- Joined: Wed Feb 06, 2013 5:09 pm
Re: check_mrtgtraf: Unable to process MRTG log file..
check_mrtgtraf: Unable to process MRTG log file
this is the alert message i am getting for the service Port 1 Bandwidth Usage for my Switch.
this is the alert message i am getting for the service Port 1 Bandwidth Usage for my Switch.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_mrtgtraf: Unable to process MRTG log file..
what is the full command you are using?
Re: check_mrtgtraf: Unable to process MRTG log file..
Hi nagios@ios,
Please see my post at the following link:
http://support.nagios.com/forum/viewtop ... 97&p=41106
The link http://www.howtoforge.com/forums/archiv ... 48484.html at about post 10 is the solution to this.
Note that you may need to change a few of the commands there to match your setup.
Hope this helps.
Kind Regards,
Gary Shergill
Please see my post at the following link:
http://support.nagios.com/forum/viewtop ... 97&p=41106
The link http://www.howtoforge.com/forums/archiv ... 48484.html at about post 10 is the solution to this.
Note that you may need to change a few of the commands there to match your setup.
Hope this helps.
Kind Regards,
Gary Shergill
Re: check_mrtgtraf: Unable to process MRTG log file..
@nagios@ios: How did gshergill's link work out for you? Has this been resolved?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.