Hi all,
I have a software package for which I need to report some status /
configuration tables via SNMP/AgentX. Each table has a bunch of
key=value pairs, where the list of keys could change in time (e.g. with
new version), so I prefer not to hardcode them to the MIB directly.
1) My idea is to h
On 23/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> - genStatisticsTable with the index genServerIndex and genStatisticsIndex :
> statistics here are specific to each server
>
> Is there a generic way to create the genStatisticsTable with columns
> that can be added dynamically by a sub agent?
To be more detailed, if I have a generic MIB with the following tables:
- genServerTable with the index genServerIndex, and columns 'name',
'ipAddress' and 'portNumber'
- genDBServerTable with the index genServerIndex and genDBServerIndex, and
column 'dbName'
- genStateTable with the index genSe
How can I check that?
Please tell, I do not know.
Sincerely,
Rahul K
-Original Message-
From: Thomas Anders [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 9:53 PM
To: [EMAIL PROTECTED]
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Frustrated with enabling Ipv6 support
[EMAIL PROTECTED] wrote:
> SNMP Agent started as follows
> -
> ./snmpd -d -Lo -p udp:161,udp6:161
Does it properly bind to the IPv6 localhost address, at least?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
--
Hi,
I completed the make and make install.
The problems still persists.
Details of snmpd.conf
-
rocommunity SNMP_COMMUNITY-1
rwcommunity SNMP_COMMUNITY-2
rocommunity6SNMP_COMMUNITY-1-IPv6
rwcommunity6SNMP_COMMUNITY-2-IPv6
SNMP Agent started as follows
[EMAIL PROTECTED] wrote:
> Now I tried installing Net-SNMP-5.3.1 on Solaris9
[...]
> checking ipv6 stack type... "unknown, no"
Like I said: ignore this for the moment. What happens if you actually
build and install the package?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
---
Hi,
Now I tried installing Net-SNMP-5.3.1 on Solaris9
Configure command was used as follows
./configure --prefix=/net/tcsnas01/vol/nxqa/qa/local/net-snmp_sol --enable-ipv6
When running configure the following error repeated
...
checking ipv6 stack type... "unknown, no"
...
After configure was t
On 23/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On a RHEL3 64-Bit box (2.4.21-40.ELsmp), IF-MIB::ifInOctets.X always returns
> 2, and IF-MIB::ifOutOctets.X always 0.
>
> Since this works fine on another 64-Bit machine with RHEL4
> (2.6.9-34.0.2.ELsmp) and net-snmp-5.1.2-11.EL4.6, I up
I try to remove some rows in the ifTable, the loopback
interface and some interface use for internal
communication.
I program the snmpd.conf with these lines:
com2sec sec1 default public
group gp1 v1 sec1
group gp1 v2c sec1
view vn1 included .1
view vn1 excluded ifEntry.1.1 0x3:0xf9
But this on
Sorry, I completely forgot the Subject...
--
I have the following problem:
On a RHEL3 64-Bit box (2.4.21-40.ELsmp), IF-MIB::ifInOctets.X always returns 2,
and IF-MIB::ifOutOctets.X always 0.
Since this works fine on another 64-Bit machine with RHEL4 (2.6
I have the following problem:
On a RHEL3 64-Bit box (2.4.21-40.ELsmp), IF-MIB::ifInOctets.X always returns 2,
and IF-MIB::ifOutOctets.X always 0.
Since this works fine on another 64-Bit machine with RHEL4 (2.6.9-34.0.2.ELsmp)
and net-snmp-5.1.2-11.EL4.6, I upgraded the RHEL3 box to that net-snm
Hi list,
I want to send v1 traps from my C/C++ application using Net-SNMP. I've
been reading the documentation but am a bit confused. Maybe someone can
give me some hint:
- where can I find a simple code example on how to send a trap?
- do I need the full Net-SNMP installed?
- do I need to creat
Hi,
Let's detail, for example, 3 different applications i want to monitor (in
reality, I have almost 60)
For the 3 applications, we have the following metrics(this is an overview):
Application 1:
- Number of SQL updates executed
- Number of SQL updates per second
- Number of failed operations
-
On 23/08/06, Sachin Mishra <[EMAIL PROTECTED]> wrote:
> Thanks Dave. Size of long is 8. Was just curious if I can get the
> portion of the code where the value is assigned.
Ummm...
Probably as follows: snmplib/snmp_api.c:snmp_pdu_parse(): lines 4429ff:
switch ((short) vp->type) {
Thanks Dave. Size of long is 8. Was just curious if I can get the
portion of the code where the value is assigned.
-Sachin
On Wed, 2006-08-23 at 15:19, Dave Shield wrote:
> On 23/08/06, Sachin Mishra <[EMAIL PROTECTED]> wrote:
> > When I am trying to set the value of the object o
On 23/08/06, Sachin Mishra <[EMAIL PROTECTED]> wrote:
> When I am trying to set the value of the object on a 64 bit
> machine, the "requests" variable passed in the table_handler function
> has requests->requestvb->val_len assigned as 8. I want to know why this
> value is 8 and not
I have my own mib, where the objects are defined to have SYNTAX as
Integer32. When I am trying to set the value of the object on a 64 bit
machine, the "requests" variable passed in the table_handler function
has requests->requestvb->val_len assigned as 8. I want to know why this
value is 8 and not
On 22/08/06, Sachin Mishra <[EMAIL PROTECTED]> wrote:
> Its difficult at this point to upgrade. I will like to know where
> exactly this value(val_len) is filled. If someone can point to the
> location in the code, that will be helpful.
Which module (and which object) are you talking about?
'val_l
> -Original Message-
> On Behalf Of Bruce M. Penrod
> Sent: 22 August 2006 23:54
> Subject: net-snmp complains on start up without mib text files
>
> I'm operating net-snmp snmpd in an embedded environment and
> don't have room on the flash for all of the mib text files
> usually located
Dave Shield wrote:
> And if that still doesn't work, have a look in 'config.log' for where
> configure tests for the presence of the IPv6 stack. If it's not
> detecting this stack correctly, then this problem needs to be fixed
> before proceeding. If configure fails to detect a necessary feature
On 23/08/06, MCG PENG Mingxing <[EMAIL PROTECTED]> wrote:
> would you please tell me How to integrate multi modules into a subagent?
Just the same way as with a single module - run 'net-snmp-config
--compile-subagent' and list the (multiple) modules that you need to
include.
Dave
--
hello,
This following is the MIB extraction of OID rip2IfConfAuthType , which is read-creatable
[EMAIL PROTECTED] ~]# snmptranslate -IR -Td rip2IfConfAuthType
RIPv2-MIB::rip2IfConfAuthType
rip2IfConfAuthType OBJECT-TYPE
-- FROM RIPv2-MIB
SYNTAX INTEGER { n
Title: Regarding subagent of snmpd!
Hi All:
sorry to bother you!
Is there any paper about subagent of snmpd daemon? I have run a samples for the subagent, but there is no output ,just log as following: who can tell me the reason? thanks in advance!
---
[EMAIL PROTECTED] wrote:
> I am frustrated with enabling Ipv6 support on Solaris 9.
>
> The software versions I am using are as follows
> 1) Net-SNMP 5.1.3.1
This version simply doesn't exist. Try net-snmp 5.3.1 which should have
working IPv6 support for Solaris 9.
+Thomas
--
Thomas Anders (t
Title: How to integrate multi modules into a subagent?
Hi All:
would you please tell me How to integrate multi modules into a subagent? and such a subagent How to work together with the snmpd daemon?
Is there any samples about it ? thanks in advance!!!
--
PENG Mingxing
On 23/08/06, MCG PENG Mingxing <[EMAIL PROTECTED]> wrote:
> Is there any paper about subagent of snmpd daemon?
No.
> I have run a samples for the subagent, but there is no output
What exactly have you tried?
"run a sample" is not very informative.
> just log as following:
> who can tell
On 23/08/06, Thomas Anders <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I am frustrated with enabling Ipv6 support on Solaris 9.
> Try net-snmp 5.3.1 which should have working IPv6 support for Solaris 9.
And if that still doesn't work, have a look in 'config.log' for where
configure
On 23/08/06, yuva raj <[EMAIL PROTECTED]> wrote:
> This following is the MIB extraction of OID rip2IfConfAuthType , which is
> read-creatable
[snip]
> When I create a new one,
>
> [EMAIL PROTECTED] ~]# snmpset -v 2c -c accton 10.10.10.10
> rip2IfConfAuthType.5.5.5.5 i 2
> Error in packet.
>
On 22/08/06, Bruce M. Penrod <[EMAIL PROTECTED]> wrote:
> I'm operating net-snmp snmpd in an embedded environment and don't have room on
> the flash for all of the mib text files
> Is there an easy way to keep net-snmp snmpd from complaining about this?
You can suppress these messages at run-time
Hi,
I am frustrated with enabling Ipv6 support on Solaris 9.
The software versions I am using are as follows
1) Net-SNMP 5.1.3.1
2) GCC 3.3
3) Solaris 5.9
The configure command used as follows
./configure --prefix=/net/tcsnas01/vol/nxqa/qa/local/net-snmp_sol --enable-ipv6
When the configure is r
On 22/08/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I am using a system call in my snmp agent code where I want to
> run a script in the background. This scripts does some tasks & at the end it
> wants to restart the snmpd with the latest configuration, so it tries to
> restarts
32 matches
Mail list logo