SNMP of FreeBSD

2010-01-26 Thread Steven Friedrich
I'm running 8-Stable, and ports are current.

I'm installing snmp support, mostly just to investigate it.

I have three ports installed:
bsnmptools-0.0.20060818_2 Snmp client tools
mbrowse-0.3.1_8 An SNMP MIB Browser for X
net-snmp-5.4.2.1_6  An extendable SNMP implementation

I got a few errors after initial install.

I don't know what pieces of snmp I want.
I used the sample snmp.config from the /usr/src tree.
I changed the name of the public community name.
I uncommented the netgraph and pf lines and maybe even others 8o)

I got rid of the errors on the console, except for this Warning:
WARNING: attempt to domain_add(netgraph) after domainfinalize()

Perhaps this is a bug in the example snmp.config I'm using?
What client(s) tools should I look at?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SNMP of FreeBSD

2010-01-26 Thread Steve Bertrand
Steven Friedrich wrote:
 I'm running 8-Stable, and ports are current.
 
 I'm installing snmp support, mostly just to investigate it.
 
 I have three ports installed:
 bsnmptools-0.0.20060818_2 Snmp client tools
 mbrowse-0.3.1_8 An SNMP MIB Browser for X
 net-snmp-5.4.2.1_6  An extendable SNMP implementation
 
 I got a few errors after initial install.
 
 I don't know what pieces of snmp I want.
 I used the sample snmp.config from the /usr/src tree.
 I changed the name of the public community name.
 I uncommented the netgraph and pf lines and maybe even others 8o)
 
 I got rid of the errors on the console, except for this Warning:
 WARNING: attempt to domain_add(netgraph) after domainfinalize()
 
 Perhaps this is a bug in the example snmp.config I'm using?
 What client(s) tools should I look at?

What is it exactly that you need/want SNMP for?

If for client only, what do you need to poll?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SNMP of FreeBSD

2010-01-26 Thread Steven Friedrich
On Tuesday 26 January 2010 08:23:16 pm Steve Bertrand wrote:
 Steven Friedrich wrote:
  I'm running 8-Stable, and ports are current.
 
  I'm installing snmp support, mostly just to investigate it.
 
  I have three ports installed:
  bsnmptools-0.0.20060818_2 Snmp client tools
  mbrowse-0.3.1_8 An SNMP MIB Browser for X
  net-snmp-5.4.2.1_6  An extendable SNMP implementation
 
  I got a few errors after initial install.
 
  I don't know what pieces of snmp I want.
  I used the sample snmp.config from the /usr/src tree.
  I changed the name of the public community name.
  I uncommented the netgraph and pf lines and maybe even others 8o)
 
  I got rid of the errors on the console, except for this Warning:
  WARNING: attempt to domain_add(netgraph) after domainfinalize()
 
  Perhaps this is a bug in the example snmp.config I'm using?
  What client(s) tools should I look at?
 
 What is it exactly that you need/want SNMP for?
 
 If for client only, what do you need to poll?
 
 Steve
 
I want to find out what I can monitor with it.  I don't know enough about it 
to know if it will be useful to me.  I'm an old hardware guy and I've been 
Admin'ing my own systems for many years. I am having a hard time finding 
pertinent documentation.

I know one of the ports allows you to monitor the cpu, memory, etc.

I already have a Superkaramba theme that has a StarTrek gauge for cpu, memory, 
swap, network in, network out, etc.

I just want to know if SNMP has anything to offer me...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SNMP of FreeBSD

2010-01-26 Thread Steve Bertrand
Steven Friedrich wrote:
 On Tuesday 26 January 2010 08:23:16 pm Steve Bertrand wrote:
 Steven Friedrich wrote:

 I have three ports installed:
 bsnmptools-0.0.20060818_2 Snmp client tools
 mbrowse-0.3.1_8 An SNMP MIB Browser for X
 net-snmp-5.4.2.1_6  An extendable SNMP implementation

 I got a few errors after initial install.

 I don't know what pieces of snmp I want.
 I used the sample snmp.config from the /usr/src tree.
 I changed the name of the public community name.
 I uncommented the netgraph and pf lines and maybe even others 8o)

 I got rid of the errors on the console, except for this Warning:
 WARNING: attempt to domain_add(netgraph) after domainfinalize()

 Perhaps this is a bug in the example snmp.config I'm using?
 What client(s) tools should I look at?

 What is it exactly that you need/want SNMP for?

 If for client only, what do you need to poll?

 Steve

 I want to find out what I can monitor with it.  I don't know enough about it 
 to know if it will be useful to me.  I'm an old hardware guy and I've been 
 Admin'ing my own systems for many years. I am having a hard time finding 
 pertinent documentation.
 
 I know one of the ports allows you to monitor the cpu, memory, etc.
 
 I already have a Superkaramba theme that has a StarTrek gauge for cpu, 
 memory, 
 swap, network in, network out, etc.
 
 I just want to know if SNMP has anything to offer me...

Personally, I use SNMP for read-only network gathering information.

Depending on the device you are trying to poll, you can generally
retrieve almost all information from a device.

What you have described that you have already seems like SNMP. Can you
give an example of a device that you want to 'test' against?

Assuming that you have an SNMP v2 device available for polling, try this
on your FreeBSD box:

# pkg_add -r net-snmp
# rehash
# snmpwalk -v2c -c your_ro_community ip_or_name_of_device

If you want specifics to test against, let me know off-list, and I'll
give you a Cisco router to poll.

Steve



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SNMP of FreeBSD

2010-01-26 Thread Steve Bertrand
Steven Friedrich wrote:

 I want to find out what I can monitor with it.  I don't know enough about it 
 to know if it will be useful to me.  I'm an old hardware guy and I've been 
 Admin'ing my own systems for many years. I am having a hard time finding 
 pertinent documentation.
 
 I know one of the ports allows you to monitor the cpu, memory, etc.
 
 I already have a Superkaramba theme that has a StarTrek gauge for cpu, 
 memory, 
 swap, network in, network out, etc.
 
 I just want to know if SNMP has anything to offer me...

...out of curiosity, are you simply trying to gain info on your local
machine that you are working from?

I use SNMP for network management, so I assumed that from the beginning.
 If what you are looking for is gathering stats from only the hardware
that you are working on, that is a bit of a different story.

With that said, I may be able to provide configs for that, too.

Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NAT+NET-SNMP Problem+FreeBSD-4.10

2005-10-23 Thread Edwin D. Vinas
Hi,
 This is just a follow-up on my previous posting on my problem with snmp. My
setup involves 1 DSL interface and 1 LAN interface in a FreeBSD-4.10 which
is configured as gateway and NAT router. I haven't been able to query any
SNMP data from this machine which acts as my DSL router. Was it a problem
with NAT?

--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: NAT+NET-SNMP Problem+FreeBSD-4.10

2005-10-23 Thread Edwin D. Vinas
Applications that work with identified devices, or that actually identify
devices (such as the *Simple Network Management Protocol* [SNMP] and DNS)
require very careful configuration when operating an a NAT environment. -
Source:
http://www.cisco.com/en/US/about/ac123/ac147/archived_issues/ipj_7-3/anatomy.html
 Am I really right to assume that my SNMP problem was a missing
configuration in NAT?


-- Forwarded message --
From: Edwin D. Vinas [EMAIL PROTECTED]
Date: Oct 23, 2005 8:26 AM
Subject: NAT+NET-SNMP Problem+FreeBSD-4.10
To: freebsd-questions@freebsd.org

 Hi,
 This is just a follow-up on my previous posting on my problem with snmp. My
setup involves 1 DSL interface and 1 LAN interface in a FreeBSD-4.10 which
is configured as gateway and NAT router. I haven't been able to query any
SNMP data from this machine which acts as my DSL router. Was it a problem
with NAT?

--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SNMP in FreeBSD server

2005-10-22 Thread Edwin D. Vinas
Hi,
 I'm running a FreeBSD server on a DSL and I wan't to monitor the link
utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
got an error as shown below. I also tried installing net-snmp from source
from sourceforge but still snmp is not responding. Please help me on this.
 Thanks in advance.
-Edwin
  NOTE:
-
My snmpd.conf is in /etc/snmp/snmpd.conf
I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
no effect.
-
 ERROR IN CFGMAKER:

--base: Get Device Info on [EMAIL PROTECTED]:
SNMP Error:
no response received
SNMPv1_Session (remote host: 192.168.1.1 http://192.168.1.1
[192.168.1.1http://192.168.1.1
].161)
community: public
request ID: -1724402833
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::v4only
at /usr/local/bin/cfgmaker line 858
WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved

# Created by
# /usr/local/bin/cfgmaker [EMAIL PROTECTED]


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP in FreeBSD server

2005-10-22 Thread Frank Staals

Edwin D. Vinas wrote:


Hi,
I'm running a FreeBSD server on a DSL and I wan't to monitor the link
utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
got an error as shown below. I also tried installing net-snmp from source
from sourceforge but still snmp is not responding. Please help me on this.
Thanks in advance.
-Edwin
 NOTE:
-
My snmpd.conf is in /etc/snmp/snmpd.conf
I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
no effect.
-
ERROR IN CFGMAKER:

--base: Get Device Info on [EMAIL PROTECTED]:
SNMP Error:
no response received
SNMPv1_Session (remote host: 192.168.1.1 http://192.168.1.1
[192.168.1.1http://192.168.1.1
].161)
community: public
request ID: -1724402833
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]::v4only
at /usr/local/bin/cfgmaker line 858
WARNING: Skipping [EMAIL PROTECTED]: as no info could be retrieved

# Created by
# /usr/local/bin/cfgmaker [EMAIL PROTECTED]


--
--
Edwin D. Viñas
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

I'm running mrtg myself, and I remember having some problem with snmpd 
when I installed it. you should have a config file in /usr/local/etc/ 
named snmpd.conf and it should look something like this: 
http://fstaals.net/junk/snmpd.conf . I can't remember anymore if I had 
to change anything else, but I think that should be it.


Good Luck

--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SNMP in FreeBSD

2004-05-25 Thread Alper Yurdakul
Hi,
How can I enable SNMP in FreeBSD 5.2.1 ?
I am trying to monitor bandwidth usage via MRTG but I always get SNMP
Error: no response received

Thanks in advance,
Alper
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP in FreeBSD

2004-05-25 Thread Jorn Argelo
Alper Yurdakul wrote:
Hi,
How can I enable SNMP in FreeBSD 5.2.1 ?
I am trying to monitor bandwidth usage via MRTG but I always get SNMP
Error: no response received
Thanks in advance,
Alper
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.
 

/usr/ports/net-mgmt/net-snmp
make all install clean
And there we have an SNMP daemon :-)
Cheers,
Jorn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SNMP in FreeBSD

2004-05-25 Thread Andras Kende
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alper Yurdakul
Sent: Tuesday, May 25, 2004 8:41 AM
To: [EMAIL PROTECTED]
Subject: SNMP in FreeBSD

Hi,
How can I enable SNMP in FreeBSD 5.2.1 ?
I am trying to monitor bandwidth usage via MRTG but I always get SNMP
Error: no response received

Thanks in advance,
Alper
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Hello,

Here is a nice howto to configure Snmpd:
http://silverwraith.com/papers/freebsd-snmp.php





Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]