Thanks for the direction.
Some high-level questions:
(1)Using those APIs to implement persistence means
that data is saved to some .conf file only once and
only when the sub-agent is normally terminated?
(2)When the sub-agent is restarted, what happens to
data in the saved file? Is it deleted, t
Hello All,
I am having no luck searching for what I need. I appologize if this has
been covered before.
I have many devices sending SNMP traps to a Solaris 8 system running
Ciscoworks. Most of the devices can only send traps to one IP address. I
now have need of 4 devices to get copies of t
Can someone lend some insight into our
Authentification Trap issue?
We have a device that does not allow
us to disable authentification traps.
The trap receiver is set to ignor the
abundant authentification traps sent.
However, we would like to have this
function disabled so that the messages are
When setting the non-repeater value to 1 and up, it seemed to avoid the
problem. Also, changing the max-repeater to 1. Is changing these values to
make a bulkwalk work an acceptable practice? If it is acceptible, any reason
why this makes sense would be much appreciated. Thanks again.
-
Is there also a function that performs the opposite, i.e. given
a list of index variables and values, construct the index part of
the OID ?
If the "implied" information is there, I can write a function for
it myself, but if it's already there, I don't have to do that...
Best regards,
Peter.
On
Sending a v1 trap with type=inform instead of type=0 fixed it from rewriting
0 to a 6 (actually further trying showed I could put anything other than
type=specific for that field to get the results to match what was originally
logged).
Anyone explain why it changes type=0 to type=6 since that is w
If I issue the command below I get a log entry in trap.log
snmptrap -v2c -c public 127.0.0.1 '' .1.3.6.1.4.1.311.1.1.3.1.1
If I try this in perl nothing occurs but I get a result return of 1.
#!/usr/bin/perl
use SNMP;
my $desthost = '127.0.0.1';
my $comm = 'public';
my $sess = new SNMP::Ses
On Wed, 2005-05-25 at 15:36, Sasikumar Bodathula wrote:
> Is there a MIB which is already implemented in NetSNMP for SNMP Managers
> to register to receive traps?
The Net-SNMP agent uses the standard SNMP MIB tables for configuring
trap destinations - snmpTargetAddrTable, snmpTargetParamsTable and
Hi,
We have a requirement for SNMP managers to register with the Agent to
receive the traps.
We know in NetSNMP we have to specify the trap destination to the
attribute ‘trap2sink’ in ‘snmpd.conf’.
In this approach before starting the snmpd we have to know all the trap
destinations, which is not
On Wed, 2005-05-25 at 15:18, Salsa wrote:
> Setting ping timeout and running on other machines
> didn't help either.
I didn't really expect it would solve the problem.
The idea is to clear away all the extraneous crud
so we can clarify what exactly is wrong.
> I'm giving symptons like: "All I kn
> Well, first time (times actually) this happened, my
> subagent would freeze and I would kill it. So I
> checked what was wrong and snmpd was not running, so I
> assumed my subagent was killing it. Now I realize that
> no one really dies.
Fair enough.
It's very easy to get confused about exact
Setting ping timeout and running on other machines
didn't help either.
--- Salsa <[EMAIL PROTECTED]> wrote:
>
> --- Dave Shield <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 2005-05-25 at 13:29, Salsa wrote:
> >
> > Dave> Is the master agent receiving SNMP requests
> > Dave> from other management
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-05-25 at 13:29, Salsa wrote:
>
> Dave> Is the master agent receiving SNMP requests
> Dave> from other management tools?
>
> Salsa> I don't think so. My subagent only sends
> traps.
> Salsa> Nothing more. It is not responsible for any
On Wed, 2005-05-25 at 13:29, Salsa wrote:
Dave> Is the master agent receiving SNMP requests
Dave> from other management tools?
Salsa> I don't think so. My subagent only sends traps.
Salsa> Nothing more. It is not responsible for any
Salsa> requests,
Fair enough - I'm just trying to rule out a
--- Salsa <[EMAIL PROTECTED]> wrote:
> Date: Wed, 25 May 2005 05:28:15 -0700 (PDT)
> From: Salsa <[EMAIL PROTECTED]>
> Subject: Re: Subagent kills Master AgentX after
> sending 299 traps
> To: Dave Shield <[EMAIL PROTECTED]>
>
>
> --- Dave Shield <[EMAIL PROTECTED]> wrote:
>
> > On Tue, 2005-0
On Wed, 2005-05-25 at 11:30, Victor Yeo wrote:
> One more question, i use mib2c.create-dataset.conf to generate this table.
> Can i create the table rows in real-time?
Yes.
If you register the dataset table using:
netsnmp_table_data_set *ds =
netsnmp_create_table_data_set( "dtApInstWa
> OK - now try the same request that Wes suggested -
>snmpwalk . NET-SNMP-AGENT-MIB::nsModuleTable
>
> What are the entries relating to .1.3.6.1.4.1.1331.11.3 ?
> Do they mention "public" or not?
>
> Dave
>
The "public" is not mentioned now:
...
NET-SNMP-AGENT-MIB::nsModuleName."".9.1.
dear sir,
once again, thanks for your accurate analysis.
One more question, i use mib2c.create-dataset.conf to generate this table.
But i dont' know how many rows i will need in compile time.
Can i create the table rows in real-time?
If the question is asked before, please kindly point me to the
> Dave> Wes - can you recall why the AgentX registration handling uses the
> Dave> 'community' field of the PDU structure? Was it just Shield stupidity
> Dave> again?
> wassnat me!
> I don't know.
OK - so we'll put it down to a Shield cock-up then.
I know that I didn't get to grips with SNMPv3
On Wed, 2005-05-25 at 08:36, Eyal Schneider wrote:
> a) Trying to get system.sysUpTime.0 works correctly
> b) snmpwalk on tcpConnTable returns many rows
> (I don't know what to check there)
That's fine - if it returns *anything*, then the access
control is probably OK.
> c) The subagent reg
On Tue, 2005-05-24 at 17:31, Robert Story wrote:
> On Tue, 24 May 2005 08:42:35 -0700 (PDT) Salsa wrote:
> S>Snmptrapd was indeed running and received
> S> traps until my subagent stopped. Then it said that it
> S> lost connection and tried to ping and reconnect.
Was that your subagent
On Wed, 2005-05-25 at 01:15, Steve S. Law wrote:
> Can you point me to what those APIs are?
> Anything that make things easier will be helpful.
Have a look at some of the existing MIB modules -
particularly those that work with purely internal data.
The file 'mibgroup/notification/snmpNotifyTable
On Wed, 2005-05-25 at 00:47, Mike Hunter wrote:
> We have a 6509 serving our department. For some reason, when I ask it for
> the forwarding table of our main vlan, it comes back with nothing, but
> when I query it for other vlans it shows plenty of stuff.
>
> % snmpwalk -c [EMAIL PROTECTED] my6
On Tue, 2005-05-24 at 18:00, chinmay bhat wrote:
> as i have only a single index
> i am using the function
>
> netsnmp_table_dataset_add_index(table_set, ASN_INTEGER);
>
> is that ok ?
Should be - add_indexes is basically just a loop wrapped
round this anyway.
> Note : it is working fine..
The
On Tue, 2005-05-24 at 17:33, Robert Story wrote:
> On Thu, 19 May 2005 16:54:25 +0530 Kurapati wrote:
> KMG> I could not find any of the agentx files in this rpm.
> KMG> (agentx_config.h, protocol.h, etc...)
> KMG>
> KMG> Please let me know, are they part of any other RPM?
>
> No, as those are
> - the J.agentX subagent should register with a
>context (/community) of ""
> - the Net-SNMP master agent should have a config
>including "rocommunity public"
> - the snmpget/snmpwalk/etc commands should specify
> -v 1 -c public
>
> With this setup:
>
> a) Can you see anyth
26 matches
Mail list logo