OoO En cette fin de nuit blanche du mardi 09 juin 2009, vers 05:14,
Joshua Tolley disait :
> I've noticed that mib2c's generated code makes calls to
> netsnmp_table_set_add_indexes() something like this one:
> netsnmp_table_set_add_indexes(table_set,
> ASN_OCTET_STR, /* index: firstIn
OoO En ce début d'après-midi ensoleillé du lundi 08 juin 2009, vers
15:57, PoWah Wong disait :
> In C.
Did you look at this example?
http://www.net-snmp.org/dev/agent/notification_8c-example.html
The last variable binding in this example is an ASN_OCTET_STR. You
should do exactly th
I've noticed that mib2c's generated code makes calls to
netsnmp_table_set_add_indexes() something like this one:
netsnmp_table_set_add_indexes(table_set,
ASN_OCTET_STR, /* index: firstIndexField */
ASN_INTEGER,/* index: secondIndexField */
ASN_INTEGER,/* index: thirdIndexFie
I did restart the snmptrapd server.
When I restart snmp from init.d it says snmptrapd was restarted:
m...@en1:~$ sudo /etc/init.d/snmpd restart
Restarting network management services: snmpd snmptrapd.
m...@en1:~$
Am I to assume the MIB is broken? I think it's loaded properly.
>
2009/6/8 Ranganathan, Viji (NSN - US/Boca Raton) :
> I observe that during snmpwalk, after the
> handler routine with MODE_GET fetches the correct data, the logic goes
> back again to get_first_data_point.
Remember that there is no such thing as an "snmpwalk" request.
This is
Thank you. I got this working.
Last question ( I hope ) . I observe that during snmpwalk, after the
handler routine with MODE_GET fetches the correct data, the logic goes
back again to get_first_data_point.
There are two rows and 24 columns.
Getnextdatapoint : called 169 times
getfirstdatapoint :
2009/6/8 May The Dog :
> Now what should I do it to bind with
>
> 1) all the ipAddr on this node
Either omit the final parameter altogether (to listen on the standard
port - 161)
or specify an address of "8159" (to listen on port 8159 on all interfaces)
> 2) a range of ipAddr on this node:
List
Hey, you are right. I started snmpd with:
/usr/sbin/snmpd -c /unisphere/srx3000/srx/snmpd.conf -D -d -DTOKEN -Le -f
localhost:8159
I changed it to
/usr/sbin/snmpd -c /unisphere/srx3000/srx/snmpd.conf -D -d -DTOKEN -Le -f
10.77.168.10:8159
Now it works. Thanks.
Now what should I do it to bind
> From: chandan [mailto:chandan.b...@globaledgesoft.com]
> Sent: Monday, June 08, 2009 12:43 AM
> In this case should the following command succeed ?
> snmpset rs.1 = ACTIVE rs.1=CREATEANDWAIT (Again assume that the
> rowstatus column is not filled before this command was executed).
It
> From: Sridhar S [mailto:sridharson...@gmail.com]
> Sent: Friday, June 05, 2009 3:46 AM
> I've installed net-snmp 5.4.1 on windows xp/vista.I've a
> specified the traphandler in the snmptrapd.conf like I
> mentioned below :
>
>
> traphandle 1.3.6.1.6.3.1.1.5.2 c:\usr\handletrap.b
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
2009/6/8
I am implementing a MIB extension that I would like to load dynamically in
Net-SNMP agent. I am implementing this extension to run on Windows and the
Net-snmp version is 5.4.2.1.
I saw some comments on the forums that dlmod is not supported under Windows. Is
there any other way to do this?
Th
2009/6/8 Olivier :
> when i'm trying to "poll" the Sun OID, on (and from) a Solaris machine
> (tried on both sparc and x86 archs), i cannot get it
That's because you are querying the Net-SNMP agent, not Sun's agent.
> /usr/sfw/bin/snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.42
> SNMPv2-SMI:
2009/6/8 :
> Attached is the MIB which is in the "/usr/share/snmp/mibs/UPSD-MIB.txt"
> directory.
>
> File /etc/snmp/snmp.conf has line "mibs +UPSD-MIB"
>
> Restarted the server "sudo /etc/init.d/snmpd restart"
You are asking about the behaviour of the trap receiver (snmptrapd).
So restarting th
2009/6/7 :
> I'm getting traps sent to my snmptrapd server. Can the logs be more
> verbose such as showing "Power Failed..." as defined in the MIB?
Have you told 'snmptrapd' to load your MIB file?
If so, how?
('cos it looks very much as if the trap receiver is *not* loading this MIB
particularl
hi
i'm facing a strange problem today.
perhaps my knowledge of snmp isn't enough to understand it, and i'd like to
know if you could just give me some hints ?
btw, i'm sorry for my faulty english, i'm french.
i just downloaded Net-SNMP 5.4.2.1 and upgraded all my Linux and Solaris
machines with
Thanks very much for the reply. In this case, can I get by without
setting up memory for the "next" pointer of the "<>head" provided by the
template ? What do I set my_data_context to ?
Does the following draft code look alright ?
netsnmp_variable_list *
retailerTable_get_first_data_point(void **
I am using snmpd proc command to monitor various processes using nagious
via snmp, this works fine on 99% servers, but two servers fail this.
Looks like this
(http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-March/115911.html),
but this fails every time and process count is not so high.
In C.
--- On Sat, 6/6/09, Vincent Bernat wrote:
> From: Vincent Bernat
> Subject: Re: newbie: how to initialize DisplayString for a NOTIFICATION
> To: "PoWah Wong"
> Cc: "net-snmp-users"
> Received: Saturday, June 6, 2009, 3:58 AM
> OoO En cette soirée bien
> amorcée du vendredi 05 juin 20
2009/6/8 Ranganathan, Viji (NSN - US/Boca Raton) :
> In this case, can I get by without
> setting up memory for the "next" pointer of the "<>head" provided by the
> template ?
The 'loop_context' field is simply some value, that can be passed
from one invocation of the
Hello,
I'd like to know how many resources are recommended by the NET-SNMP agent.
Thanks a lot.
Michael
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of S
Hi all,
RFC 2579 asserts that a row can be created only when the initial value
of the rowstatus column is either "Create & Go" or "Create and Wait".
Hence the following snmpset command should fail:
snmpset rs.1 = ACTIVE (Assume that the rowstatus column is not filled
earlier).
In this case shou
2009/6/8 geri noorzaman :
> So right now, how to implement the data type like the octet string like
> this? for example for mac address 'AA:BB:CC:DD:EE:FF'.
Try
char address[6];
address[0] = '0xaa';
address[1] = '0xbb';
address[2] = '0xcc';
address[3] = '0xdd';
address[4]
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
2009/6/
Oh yes I think I know the problem.
You're right. The type of macAddress is octet string with length 6.
So right now, how to implement the data type like the octet string like this?
for example for mac address 'AA:BB:CC:DD:EE:FF'.
Thank You for response
--
Geri
25 matches
Mail list logo