osdir.com
mailing list archive

Subject: Re: smux and Adaptec DPT manager - msg#00316

List: network.net-snmp.user

Date: Prev Next Index Thread: Prev Next Index
> I have installed the Adaptec MegaRAID manger software
> which comes with a subagent that supposedly works with linux.... [&] get
> the following line showing up in my /var/log/messages:
>

> Nov 22 01:54:17 batman ucd-snmp[24728]: refused smux peer: oid
> enterprises.1597, password nopassword, descr Adaptec RAID SNMP Subagent


See'snmpd.conf(5)' and look for "smuxpeer".

I suspect you probably need the entry

smuxpeer .1.3.6.1.4.1.4.1.1597 nopassword

But the documentation for the Adaptec software ought to mention
this somewhere.

Dave

PS: Please - no HTML mail. Thanks



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

storing snmpget results

Hello, Wich command do I need to use to store snmpget result (it is an integer number)? I'm using the following lines, according to net-snmp demo application, and I have to store the value besides printing it. pdu = snmp_pdu_create(SNMP_MSG_GET); read_objid(".1.3.6.1.2.1.1.1.0", anOID, &anOID_len); // Actually, I'm using another oid snmp_add_null_var(pdu, anOID, anOID_len); status = snmp_synch_response(ss, pdu, &response); for(vars = response->variables; vars; vars = vars->next_variable) print_variable(vars->name, vars->name_length, vars); Could you help me? Thanks a lot and regards, Eduardo Brito. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Next Message by Date: click to view message preview

return-value of snmpset

Hello, I have implemented a simple settable string. Because I do not do very much by setting it, I have put my handler code straigth to SET_ACTION. The only thing I am doing here is to check the given string and (if it is valid) change my statically stored variable. If the given string is not valid, it will be ignored. This works so far. But if I do a invalid snmpset on this it returns me an output of the invalid value (note: it is not set to my variable). I thought after a set-request a normal get-reply would be given by the agent. Why do I get the wrong value? Do I have to replace my code and really do all that commit-, undo-, free- etc. stuff? regards Stephan Knabe ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Previous Message by Thread: click to view message preview

smux and Adaptec DPT manager

I am a newbie when it comes to SNMP, and I think I might be a bit over my head with the project that I am trying to do.  I have setup my Red Hat box with an snmpd.conf that looks like this:   rocommunity  clscommunity disk  / 1107072 syslocation  "Office"   and that’s it.  I have installed the Adaptec MegaRAID manger software which comes with a subagent that supposedly works with linux. (I am sure it does…I just cant make it work).  Anyway, every five minutes I get the following line showing up in my /var/log/messages:   Nov 22 01:54:17 batman ucd-snmp[24728]: [smux_accept] accepted fd 8 from 127.0.0.1:37796 Nov 22 01:54:17 batman ucd-snmp[24728]: refused smux peer: oid enterprises.1597, password nopassword, descr Adaptec RAID SNMP Subagent   Anyway, I assume that the reason that the reason that snmpd is rejecting it is because I am missing something in my snmpd.conf to allow info from the subagent or something.  Like I say, I am a newbie and I have next to zero experience with snmp outside of basic MRTG stuff.  If anybody can help point me in the right direction it would be greatly appreciated.  Ultimately I want to use a perl script (check_dpt—a nagios plugin) to check the status of my raid via snmp.      Thanks in advance.   Ryan  

Next Message by Thread: click to view message preview

mib2c coredumps with unresolved symbol for RAND_bytes from the library libnetsnmp.sl.5

Hi all, I encounter problem running mib2c, which coredumps with unresolved symbol for RAND_bytes from the library libnetsnmp.sl.5, but this library has the required strings: # ./mib2c /usr/lib/dld.sl: Unresolved symbol: RAND_bytes (code) from /opt/iexpress/net-snmp/lib/libnetsnmp.sl.5 Abort(coredump) # strings /opt/iexpress/net-snmp/lib/libnetsnmp.sl |grep RAND_bytes RAND_bytes RAND_bytes Can anyone point out what im actually missing, Also ive checked it out starting prngd , still in vain. TIA Usha --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.535 / Virus Database: 330 - Release Date: 11/1/2003 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by