LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-16-2005, 11:47 PM   #1
sandeep2005
LQ Newbie
 
Registered: Oct 2005
Location: nepal
Posts: 4

Rep: Reputation: 0
MRTG configuration


i am trying to configure MRTG on my linux box 192.168.0.77 and vierw its performance from localhost as well as from another linux box(192.168.0.20) which is in a network.

my snmpd.conf file is as follws:


com2sec local localhost sandeep
com2sec network_1 192.168.0.20 sandeep




group MySnmpGroup v1 local
group MySnmpGroup v2c network_1


view systemview included .1



access MySnmpGroup "" any noauth exact systemview none none

so my snmpwalk amd snmpget are working correctly in query from localhost and 192.168.0.20


i then tried to coinfigure MRTG for graphical performance visualization

i installed MRTG in linux box 192.168.0.77
from my linux box 192.168.0.20 i issued the command

cfgmaker --output=/etc/mrtg/192.168.0.77.cfg -ifref=ip --global "workdir:L /var/www/html/mrtg" --snmp-options=:::::2 sandeep@192.168.0.77
then env LANG=C /usr/bin/mrtg /etc/mrtg/192.168.0.77.cfg and i get the error

WARNING: Couldnot match host:' sandeep@192.168.0.77:::::2' ref:'Ip' Key:'21.1.2.0.0.0.0'

I get the same error when i try to watch from my localhost

can anyone tell me what have i done wrong or is it that i missed a step?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rrd mrtg & mrtg-rrd.cgi ducati620 Linux - Newbie 0 06-03-2004 07:29 PM
MRTG Configuration Problem JJX Linux - Software 4 06-03-2004 04:12 PM
looking for help on MRTG AZIMBD03 Linux - Networking 5 04-08-2004 01:36 PM
mrtg and snmp configuration problemae shinacalypse Linux - Software 1 03-19-2004 10:20 PM
MRTG Configuration Help Needed oaaltone Linux - Software 2 04-01-2003 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration