LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2004, 08:22 PM   #1
bpk
Member
 
Registered: Nov 2003
Location: San Francisco, CA
Distribution: FreeBSD, OpenBSD, Gentoo, OS X
Posts: 80

Rep: Reputation: 15
MRTG, SNMP and Figuring out my 'Community'


Im trying to monitor my machines network interface and once that is successful, I'd like to monitor all the servers on my network, but for this thread, I will only discuss trying to monitor my one machine (which is the same machine that is running MRTG). I beleive my problem is with SNMP and trying to figure out my 'Community'. Is there a tool to figure this out? Or is this something I have to create? Im very confused and the MRTG documentation does not say.

Here is my configuration file that seems to push through (the html and graphic charts are created in my Work_Dir (all zero values tho):

Code:
WorkDir: /usr/local/www/data-dist/mrtg
Target[infinity_sis0]: \sis0:MalayS@XXX.XX.XX.XXX:
SetEnv[infinity_sis0]: MRTG_INT_IP="XXX.XX.XX.XXX" MRTG_INT_DESCR="sis0"
Unscaled[infinity_sis0]: dwmy
MaxBytes[infinity_sis0]: 98304
Title[infinity_sis0]: Traffic Analysis for xl0 -- my.domain.com
PageTop[infinity_sis0]: <H1>Traffic Analysis for sis0 -- my.domain.com</H1>
'XXX.XX.XX.XXX' = IP Address
'sis0' is the device name of my network card reports ifconfig
MaylayS = community name that was taken from an example

I get the error:

Code:
infinity:mrtg> mrtg /usr/local/etc/mrtg/mrtg.cfg
WARNING: Could not match host:'MalayS@XXX.XX.XX.XXX:' ref:'Descr' key:'sis0'
ERROR: Target[infinity_sis0][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[infinity_sis0][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
It's pretty clear I need to figure out my community name. Additionally, I have installed the net-snmp package which mrtg uses but im lost as to how to use it. Any light on this topic would be most wonderful.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp-mrtg ahmed4linux Linux - General 1 11-03-2004 07:27 AM
Net-SNMP and MRTG Astro Linux - Networking 5 07-25-2003 03:24 AM
help with mrtg and snmp cristi1979 Linux - Networking 1 06-24-2003 08:49 PM
Snmp/mrtg hydro Linux - Software 1 06-15-2003 09:39 AM
Running SNMP in RH 7.2 (for MRTG) Token Linux - Software 0 06-12-2002 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 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