On 23 November 2011 11:00, prashant n wrote:
> 1) If i want to handle other objects with types such as table, float,
> string etc.. then what changes i need to do in source file example-demon.c ?
>From the FAQ entry
Which mib2c configuration file should I use?
For implementing a group
On 23 November 2011 15:24, prashant n wrote:
> 1) How to quick start to send notification(TRAP) to the manager by the SNMP
> agent ?
For configuring where the agent should send notifications,
please see the snmpd.conf(5)' man page - in particular, the
section "Notification Handling", and the FA
Hi,
*Please suggest me on following things*
*
*
*
*
1) How to quick start to send notification(TRAP) to the manager by the
SNMP agent ?
2) The SNMP agent must send trap if any changes in the underlying system
that must be reflected to objects defined in MIB file. How to do that?
*Thanks i
Hi Dave,
*Thanks for your reply.*
*
*
Again i tried both the cases i,e
1) I am able to create sub-agent: AgentX automatically using the
net-snmp-config script and i tested.
2) Instrumenting my own code with agentx sub agent support as given in
tutorial
I killed the snmpd command (Ct
On 23 November 2011 09:42, wrote:
> If I want to set VLAN configuration on a switch, which MIB I have to use?
> Is it Q-BRIDGE-MIB or BRIDGE-MIB?
The BRIDGE MIB is defined in RFC 4188:
Definitions of Managed Objects for Bridges
The Q-BRIDGE MIB is defined in RFC 4363:
Definitions of Man
I could not find what I wanted somehow.
I am quite new to snmp. Can anybody please let me know what is
community used in snmpd.conf file and what is its use in trapsink and
trapcommunity?
Currently my application uses hardcoded community - 'public'. I need
to parse the snmpd.conf file for this.
HI,
Thanks for clearing up doubts on "snmp_async_send".
That helped me to learn a lot.
If I want to set VLAN configuration on a switch, which MIB I have to
use?
Is it Q-BRIDGE-MIB or BRIDGE-MIB?
Can you tell me which OIDs needs to be set, because most of the names
seems to be same to
On 23 November 2011 09:09, Vivek Nagaraj wrote:
> I would like to know if the snmpd.conf parsing code is present in
> net-snmp source or not.
No - it all happens by magic. Magic, I tell you.
Nyah ha ha Ha Ha HA HAHA
Sorry - got carried away.
Yes - the config parsing code is present in th
Hello
Just a thought. Did you run the ./examples-daemon with sudo?
Eirik Nordbrøden
(+47) 90174789
> -Original Message-
> From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
> Sent: 23. november 2011 09:54
> To: prashant n
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: Pro
Hello all,
I would like to know if the snmpd.conf parsing code is present in
net-snmp source or not. Since I would like to make my sub-agent work
in a similar way to the main agent, I would like to have a look at the
main agent code.
Thanks,
Vivek
On 23 November 2011 06:33, prashant n wrote:
> Following lines shows the output of the command:
> sudo /usr/local/sbin/snmpd -f -L -d -p
> Turning on AgentX master support.
> NET-SNMP version 5.6.1.1
OK - so there's no sign of any warning messages.
So opening the AgentX socket should ha
On 23 November 2011 08:02, wrote:
> Can you please explain why the call-back function is triggered twice in the
> successful “snmp_async_send”.
>
> First one is shows as “SNMP_MSG_REPORT”
> While second one is the correct “SNMP_MSG_RESPONSE”
We talked yesterday about the need to probe the remo
On 23 November 2011 08:02, wrote:
> I used to understand whether the “snmp_async_send” was successful or not, by
> looking at its return value.
>
> Now it returns a “non-zero value” regardless of success or failure.
Think about what "failure" means here.
For an asynchronous request - failure bas
Hi,
> I suspect that it is the use of SNMPv3 that is the issue here.
That indeed was a problem with SNMPv3.
Thanks for the reply.
I tried by giving the engine id as a session parameter itself and it
returned immediately.
So that solves the problem. No blocking :)
But it created a
14 matches
Mail list logo