LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Statistic MRTG wont show the graph (https://www.linuxquestions.org/questions/linux-software-2/statistic-mrtg-wont-show-the-graph-196529/)

vladimir-dk 06-22-2004 04:22 PM

Statistic MRTG wont show the graph
 
I have just installed MRTG but it wont show the graphs i get this error when i type:

cfgmaker localhost public

Error: http://www.dannyfb.dk/mrtg.txt

Can anyone help me. My graps wont show... :(
:newbie:

vladimir-dk 06-24-2004 03:35 PM

can anyone help ?

pauljtester 07-29-2004 03:31 PM

make sure that snmpwalk works by itself. Try something like:
Code:

snmpwalk -Os -c public -v 1 your.router.name.here system
you can replace system with 'if' for interface a number of other things associated with MIBs (though I'm not real familiar with them myself).

If that doesn't work, make sure you have snmp(d) turned on on the server you are trying to monitor. To check if it's running, try
Code:

prompt# /etc/init.d/snmpd status    or
prompt# chkconfig --list snmpd

Yet, these are RH commands, I don't know that it's the same with Debian.

Hope this helps.
PJT

vladimir-dk 07-30-2004 04:53 PM

I have struggerling with this for a month now and I'm still haveing problems with it.

I'm sure that my snmpd i startet:

/etc/init.d/snmpd start
Starting network management services: snmpd.

On my webpage the graph are now visible but are not showing any stats

what more can i tjek. ??

The command you gave my didn't really worked out :( :(

pauljtester 08-02-2004 09:03 AM

My recommendation is to make sure that you can get snmpwalk working first because MRTG relies on that. For documentationn on snmpwalk check out
http://net-snmp.sourceforge.net/
snmpwalk then fills in the numbers in the .log files. For example /home/httpd/mrtg/192.168.0.1_cpu.log and I believe the graph then plots the lines from these numbers.

Two other things that you can check is 1) make sure that a firewall or ACL (on a router) is blocking the snmp traffic and 2) capture the packets with Ethereal and make sure that they are actually going to and from the device you are trying to monitor.

HTH,
PJT


All times are GMT -5. The time now is 05:53 AM.