Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge
View Poll Results: Do you think a new Networking/hardware forum would be userful?
wahey - yeah that's a cool idea 20 60.61%
no way - that's of no interest to me 4 12.12%
*shrug* not really bothered either way 9 27.27%
Voters: 33. You may not vote on this poll


Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old January 13th, 2003, 06:09 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
ok AlCapone,

I don't have any routers to play with, but I do have a couple of slackware boxes, so I figured I'd run some stats of them if I could.

Firstly, I'm assuming I need to have snmpd running on the agent box. I'm then using the same box as the manager.

I am using the cfgmake utility to build my config script in /export/mrtg/cfg/homrtg.cfg like so:

/usr/src/mrtg-2.9.25/bin/cfgmaker --global 'WorkDir: /export/mrtg' --global 'Options[_]:bits, growright' --output /export/mrtg/cfg/homrtg.cfg public@127.0.0.1

on building the config file, I get snmp error messages such as:
Quote:
--base: Get Device Info on public@127.0.0.1:
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -282482214
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@127.0.0.1:
at /usr/local/mrtg-2/bin/cfgmaker line 673
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifDescr scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifName scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifType scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@127.0.0.1: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received


running mrtg against the generated config file doesn't come up with much, as you can imagine - well in fact, it does nothing.

And now I don't even know what to ask.. but I think it has something to do with my snmp setup. I'm using net-snmp and the snmpd is definitely running.... er I'll hit submit, sleep on it, and then I'll get back tomorrow !

later
christo

/me wishes we had a forum dedicated to this stuff .. and also has a squillion IP adressing questions for a rainy day </wibble>

Reply With Quote
  #17  
Old January 13th, 2003, 06:36 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 18
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
christo, I bet ya snmp.conf either doesn't exist or is broken. What did you use to generate it? BTW, community@router never worked for me, so I had to use public@localhost

edit: I did it on freebsd, but point remains.
__________________
And you know I mean that.

Reply With Quote
  #18  
Old January 13th, 2003, 07:29 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
well I used snmpconf to generate an snmp.conf file and moved it into /usr/local/share/snmp I didn't change any of the settings, ie I just accepted the initial default and then ended the conf file creation and moved it into place.

I am using public@127.0.0.1 or public@localhost, but still get these 'no response received errors'

it's gone 1.30am and I have to do $dayjob tomorrow. I'll post back from my desk

christo

Reply With Quote
  #19  
Old January 13th, 2003, 07:57 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 18
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Uh I'm not gonna lie to you - I've set it up after 10 hours coding, followed by 9 hours of partying and 3 hours circling around city trying to remember where I live.

I can hardly recall anything from the next day, so I'm not sure what did I do to get it started. What I do remeber, is that It had to do with smtp not answering mrtg's queries because it didn't know it's supposed to listen and reply. So yeah I reckon it was in snmpt.conf, which I deleted and use some app to configure a new one. I *might* have been smtpconf, not to sure

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > New Networking/hardware forum?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT