Re: IF-MIB Solaris 9/SPARC

2007-08-10 Thread Anders Persson
Hi Joe,

I just tested net-snmp 5.4.1 on a sun4u system running Solaris 9 and it 
worked for me (I used --with-mib-modules="if-mib" 
--enable-mfd-rewrites). Could you run the agent with '-D 
access:interface' and email me whatever the output is?

Thanks,
Anders

Joe Gainey wrote:
> I've seen one other post on here regarding this.  I have compiled and 
> installed version 5.4 of the net-snmp package on a Solaris 9/SPARC 
> system.  Here are the options used to when running the configure script:
>
> --with-perl-modules=no \
> --disable-embedded-perl \
> --disable-shared \
> --enable-mfd-rewrites \
> --with-default-snmp-version=2 \
> --with-sys-contact="Unknown" \
> --with-sys-location="Undefined" \
> --with-logfile=/var/snmp/log/snmpd.log \
> --with-persistent-directory=/var/snmp/private \
> --with-mib-modules="if-mib agentx ucd_snmp mibII" 
> --with-ldflags="-Bstatic"
>
> What I have been bumping my head against for too long now is that an 
> snmpwalk of the interfaces oid only returns information about the 
> loopback interface.  I have boxes with three types of interfaces:  
> bge, eri, and dmfe
>
> None of these are reporting under net-snmp.  Does anyone know what I 
> am doing incorrectly?  I would really like net-snmp to be able to 
> discover the interfaces like it has in the past.  Having to hand 
> configure the interface name type speed etc. on literally hundreds of 
> boxes is not my idea of a good time.
>
>
> Thanks in advance,
>
> Joe
>
> 
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games. 
> 
> 
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>   
> 
>
> ___
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>   


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: IF-MIB Solaris 9/SPARC

2007-07-31 Thread Dave Shield
On 30/07/07, Joe Gainey <[EMAIL PROTECTED]> wrote:
>   I have compiled and
> installed version 5.4 of the net-snmp package on a Solaris 9/SPARC system.

> --with-mib-modules="if-mib agentx ucd_snmp mibII"


> ... an snmpwalk of the interfaces oid only returns information about the 
> loopback
> interface.  I have boxes with three types of interfaces:  bge, eri, and dmfe
>
> None of these are reporting under net-snmp.  Does anyone know what I am
> doing incorrectly?

The thing that spring out is that you are using the new 'if-mib' module rewrite,
rather than the earlier 'mibgroup/interfaces' code.  It's possible
that this newer
module isn't picking up the Solaris interfaces properly.

One option would be to run configure using

--with-mib-modules="agentx ucd_snmp mibII"

or even

--with-mib-modules="agentx ucd_snmp mibII"
--with-out-mib-modules="if-mib"

and see if that works better,


A better option would be to look at the code for the 'if-mib' module, and work
out *why* your interfaces aren't being detected.  If you can provide a fix,
then this could be included in future releases of the software, and
untold multitudes would proclaim your name in thankful adoration.


It's probably also worth trying with the newly release 5.4.1 first, just to
check whether this problem has already been addressed.


Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users