Dear sir,
I have developed a private mib which contains scalar objects. When I try to
compile using mib2c, it is not generating the skelton .c and .h files.
Please tell me the procedure.
Please help me on this.
Thanks in advance
-Maruthi
On 31/01/2008, Bell, Adam [EMAIL PROTECTED] wrote:
One more quick question - what is a default build?
./configure ; make ; make install
Is there a configure
script available for a default build
Just run configure with no other options.
On 31/01/2008, Manfred Wassmann [EMAIL PROTECTED] wrote:
For the error checking I recognized that the set command also returns
the value being set. So in case of an error I would set the
versionNumber to zeroes and the versionState to invalid and return
that value.
No - you can't do that.
The
Dave,
One more quick question - what is a default build? Is there a configure
script available for a default build or should I just not use
--with-mibs and --with-out-mibs for the first try? then add/remove MIBs
until it breaks?
Thanks,
Adam
-Original Message-
From: [EMAIL PROTECTED]
Hello,
Thanks again for your previous responses to previous emails.
Anyhoo, I noticed that README.solaris documentation indicated that
net-snmp subagent built on the net-snmp libraries can be used in
conjunction with the Solaris SNMPDX daemon - and that's wonderful since
we don't have to
I have gone for hours over this, I have tried the makefile.pl and it errors out
saying I have not installed snmp 1.8. However I installed OPENXTRA Net-SNMP
5.4.1, and ActiveState Active Perl, and then tried even copying the files into
the c:\perl\lib directory. I seriously cannot get this
On 31/01/2008, Bharma Ji [EMAIL PROTECTED] wrote:
I am running netsnmp 5.0.7 on FreeBSD 4.6.2.
First of all, 5.0.7 is a very old release.
It is not even the most recent version of the 5.0.x code,
and this line is no longer being maintained anyway.
The IF-MIB support has had a major re-write
On 31/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
However, we were wondering if the same can be done on AIX platform -
that is, can the native snmpd daemon on AIX (whatever it is called) also
be used in conjunction with net-snmp subagents?
You probably need to ask the AIX people about
On 1 Feb 2008 08:55:24 -, maruthi prasad [EMAIL PROTECTED] wrote:
I have developed a private mib which contains scalar objects. When I try to
compile using mib2c, it is not generating the skelton .c and .h files.
What command are you running?
What output does it produce?
Dave
On 01/02/2008, Pranesh Kulkarni [EMAIL PROTECTED] wrote:
Using mib2c tool , I generated code for the scalar and table and then
configured , make and make install . Then I ran snmpd
if I issue snmpget it replies,
No Such Instance currently exists at this OID
You've probably done
Following README.win32, the configure line I used is
./configure \
--with-mib-modules=host agentx disman/event-mib examples/example \
--with-out-mib-modules=host/hr_network --with-libs=-lws2_32 \
--disable-embedded-perl --without-perl-modules
and got the following
Hi ,
I am going through how to make subagent . I have written mib(xyz) and loaded
/usr/local/share/snmp/mibs and tested with snmptranslate.
Using mib2c tool , I generated code for the scalar and table and then
configured , make and make install . Then I ran snmpd
if I issue snmpget it replies ,
Hi Dave,Thanks for your quick reply.Yes this is an Agentx subagent trap.When
ever some change has occurred in our database which we maintained using the
subagent (scalars amp; tables) a trap will be triggered from our subagent,
which will call function send_MyNotification_trap(void).On Fri, 1
Hi All,nbsp;nbsp;nbsp; nbsp;nbsp; nbsp;nbsp; There is a problem I'm
facing with informs. Whenever I try sending a trap message using the function
call send_v2trap(var_list), the notify request is not reaching master agent. So
I tried with sleep for about 5 seconds before I call this function
On 1 Feb 2008 13:18:11 -, girish [EMAIL PROTECTED] wrote:
Whenever I try sending a trap message using the function call
send_v2trap(var_list), the notify request is not reaching master agent.
This is sending a trap from within an AgentX subagent - yes?
How are you triggering this trap?
On 01/02/2008, Jun Zhang [EMAIL PROTECTED] wrote:
Following README.win32, the configure line I used is
./configure \
--with-mib-modules=host .
So you're telling configure to include the host group
--with-out-mib-modules=host/hr_network
but not the hr_network
I'm not sure what you mean by shipping snmpd with the subagent.
We have a seperate daemon which does various things, but among them
sends SNMP (v2) traps using net-snmp libraries and interfaces (such as
send_v2trap(), etc.). So, that is what I refer to as a 'subagent'.
Then, there's net-snmp's
Hee-hee. Thanks Dave, will keep that in mind.
Dave, as I re-read the README.solaris doc I realized that maybe I
misread and that in fact the net-snmpd 'snmpd' daemon still has to run
along side of the Solaris native 'snmpdx' for a net-snmp subagent to
run? In other words, in part 7 of
On 01/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dave, as I re-read the README.solaris doc I realized that maybe I
misread and that in fact the net-snmpd 'snmpd' daemon still has to run
along side of the Solaris native 'snmpdx' for a net-snmp subagent to
run?
Well, if you're running
On 01/02/2008, Pranesh Kulkarni [EMAIL PROTECTED] wrote:
May be this sounding simple to you , please help me in this regard,
It's not a matter of being simple or complex.
The problem is that you are not giving us sufficient
information to work with.
You say that:
Using mib2c tool , I
Thank you David. I prceeded and compilation seems successful. Please see my
next post about the agent error.
Jun
Dave Shield [EMAIL PROTECTED] wrote: On 01/02/2008, Jun Zhang wrote:
Following README.win32, the configure line I used is
./configure \
--with-mib-modules=host .
So
I compiled 5.4.1 on win32 with cygwin, have the error messages running the
agent. With the error messages, I can locate the module files (ended with .txt)
under c:/snmp54/share/snmp/mibs. I guess the agent should know the mibs
location but I'm not sure. There are 57 module files under
Thanks. I will just monitor the shorter name or rename the process all
together for now while I figure out the reasoning behind the limitation..
I'm still unable to figure out why it is sporadically not detecting the
other processes. Any ideas where to look on this issue? Its only one
server
I examined further under c:/snmp54/share/snmp/mibs, some of them may not be
considered as a mib file, like RFC-1215.txt. May be I can conclude that the
agent simply doesn't know where the mibs are. My question will be, how can I
make the agent (the snmpd daemon) know where the mibs are?
Jun
Hi Jun,
From my personal experience on win32/Cygwin your snmpd.exe did not find the
directory where the MIB files are located.
You can specify this directory in a snmp.conf file that should contain:
mibdirs /usr/local/share/snmp/mibs
Note: this path is correct if you installed your
Landry,
I put it as c:/snmp54/share/snmp/snmp.conf, and it worked. The daemon spit out
only those regisgration != duplicate (are they significant?) lines.
Thank you!
Jun
Landry Caroline [EMAIL PROTECTED] wrote:v\:*
{behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:*
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Thursday, January 31, 2008 1:40 AM
On 30/01/2008, Mike Ayers [EMAIL PROTECTED] wrote:
This much I can tell you - communities were never
(OK - the SNMPv3 specs talk in terms of entities rather than
Hi all
I have an snmp agent on one system and i want all the traps being received
by that agent to be forwarded to some other agent on some other machine. Is
there any way of doing this using the configuration file. Can you suggest
possible ways of doing this.
regards
Devvrat
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Masoud Fatollahy
Sent: Thursday, January 31, 2008 7:24 AM
We are planning to find the best possible way to register our
ports as interface in mib2/interfaces(if-mib/ifTable) table
on net-snmp-5.4.1. since these ports are
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Larry Low
Sent: Friday, February 01, 2008 8:51 AM
Thanks. I will just monitor the shorter name or rename the
process all
together for now while I figure out the reasoning behind the
limitation..
I'm still unable to
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of yuchen lu
Sent: Thursday, January 31, 2008 5:32 PM
again, the index 6,7,8 seems to be jump over.
The hrIndex description reads:
A unique value for each logical storage area
contained by the
On 01/02/2008, Jun Zhang [EMAIL PROTECTED] wrote:
The daemon spit
out only those regisgration != duplicate (are they significant?) lines.
See Official Patch #1805971
(http://sourceforge.net/tracker/index.php?func=detailaid=1805971group_id=12694atid=456380)
Dave
Q1: Does this output suppose to include user added Mibs? (through export
MIBS=+AnotherMIB) If not, what ways can I use to test whether AnotherMIB is
loaded or not?
Q2: Why each MIB has Command not found at the end? If each MIB has some
commands not recognized by the agent, will the agent be
Hi,
I am using net-snmp version 5.4.1 from Linux.
I am using octet string as index into the table. When
sending SNMP request during walk or Get, why net-snmp
is sending the octet-string index with integer tag 02
instead of octetstring tag 04?
if the index is of size Octet String(6) and it is
On 01/02/2008, Mike Ayers [EMAIL PROTECTED] wrote:
Hopefully, the ifTable implementation has a way to cooperatively
add your own rows, but I've never examined it. Anyone?
Unfortunately not.
See Feature Request #1693095
Dave
On 01/02/2008, Alamelu Ramadurai [EMAIL PROTECTED] wrote:
if the index is of size Octet String(6) and it is some
system-id say:22 22 33 33 44 44.
The index part in reuqest is sent as 02 22 22 33 33 44
44 and not as 04 06 22 22 33 33 44 44.
Well, if the index is indeed OctetString(6) - i.e. a
On 01/02/2008, yuchen lu [EMAIL PROTECTED] wrote:
snmpgetnext -v2c -c amail 4.4.4.3 hrStorageUsed.3
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 93208
again, the index 6,7,8 seems to be jump over.
That's correct.
The used value is not available for these three storage areas.
On 01/02/2008, Devvrat Tripathi [EMAIL PROTECTED] wrote:
I have an snmp agent on one system and i want all the traps being received
by that agent to be forwarded to some other agent on some other machine.
SNMP agents don't typically receive traps.
That's the job of the snmptrapd command.
See
On 01/02/2008, Jun Zhang [EMAIL PROTECTED] wrote:
$ net-snmp-config --default-mibs
[snip]
Q1: Does this output suppose to include user added Mibs?
(through export MIBS=+AnotherMIB)
No.
net-snmp-config --default-mibs
will tell you which MIBs will be loaded by default,
i.e. if you
Dave,
I would think it is the agent, snmpd, who got the mibs loaded. If I executed
export MIBS=+AnotherMIB
and then start the agent, AnotherMIB should be loaded on top of the default
set, but correct me if I'm wrong.
So how to check if AnotherMIB is loaded or not, using either net-snmp-config
I tried,
check_snmp_win.pl -v -H localhost -C public -n Server
and got
ERROR: Process name table : Requested table is empty or does not exist.
I located it is the printf line (within check_snmp_win.pl, listed bellow)
generated the error message, so it is that $resultat is not defined. I can
On 01/02/2008, Jun Zhang [EMAIL PROTECTED] wrote:
I would think it is the agent, snmpd, who got the mibs loaded. If I executed
export MIBS=+AnotherMIB and then start the agent, AnotherMIB should be
loaded on top of the default set, but correct me if I'm wrong.
Sorry - you are wrong.
The MIBS
On 01/02/2008, Jun Zhang [EMAIL PROTECTED] wrote:
I tried,
check_snmp_win.pl -v -H localhost -C public -n Server
I haven't heard of that script
To my understanding, in order for
$resultat to be defined, Net::SNMP version need to be 4.
And that's why. That is nothing to do
Thanks for the detailed explaination Dave. I am now much more clear about
the problem. Seems that I've got to add some extra code to handle such
cases. But I am still curious to know is there any chances to solve the
problem by tuning netsnmp configuration file?
What exactly I meant is that,
44 matches
Mail list logo