Re: tkmib

2009-08-11 Thread Dave Shield
2009/8/11 Kim, HC : > Then, I can't find the loaded MIB file in the tree menu, but I can see the > default sub-trees only under ISO tree. Would you comment how to find the > loaded "SAF-AMF-MIB" file? First thing - you won't find mention of this (or any other) MIB file in the tkmib display. This

Re: Periodic trap messages

2009-08-11 Thread Dave Shield
2009/8/10 Rajiv Garg : >  I have previously used a commercial SNMP agent that had the ability > to send periodic heartbeats > I got nothing thus far for the hearbeat traps. See the example module "agent/mibgroup/example/notification.c" That sends precisely such a heartbeat trap. (Every 30s, b

Re: problem while installing the netsnmp-5.4.2.1 on fedora core 8

2009-08-11 Thread Dave Shield
2009/8/11 sanjaykumar : > Hi All, > > I am facing the problem while installing the netsnmp-5.4.2.1 on fedora core 8 > Step 1: > ./configure --enable-internal-md5  --enable-ipv6 --disable-embedded-perl > --disable-perl-cc-checks It looks suspiciously as if you don't have perl installed on your

Re: tkmib

2009-08-11 Thread Dave Shield
2009/8/11 Kim, HC : > (1) Request > Would you give me one example how to get the content of the target MIB file > (SAF-TC-MIB or SAF-AIS-TC-MIB) in the both of tkmib tool and snmpwalk > command line application? These two MIBs do not contain any information to retrieve. They are "Textual Conventio

snmp.conf syntax

2009-08-11 Thread Michal Filka
Hi, I have following statements in snmpd.conf monitor -e -r 60 "" myMIB::Value > 0 monitor -e -r 60 "" != myMIB::Value The first one works and fires the event when the value chages from 0 to != 0. However, the second one is never fired. As far as I understand it, it should be fir

snmp.conf syntax

2009-08-11 Thread Michal Filka
Hi, I have following statements in snmpd.conf monitor -e -r 60 "" myMIB::Value > 0 monitor -e -r 60 "" != myMIB::Value The first one works and fires the event when the value chages from 0 to != 0. However, the second one is never fired. As far as I understand it, it should be fired

RE: tkmib

2009-08-11 Thread Kim, HC
Hi Dave, Thanks for your info again, now I can find out the content of the safAISTCMIB and safTCMIB MIB files and I can see the module ID name such as SAF-AIS-TC-MIB and SAF-TC-MIB in this screen. Then, when I try to click the get icon as using OID as .1.3.6.1.4.1.18568.1. 10 (default value) afte

RE: tkmib

2009-08-11 Thread Kim, HC
Hi Dave, Thanks for your information. I loaded the required MIB files such as SAF-TC- MIB and SAF-AIS-TC-MIB at first, and then loaded SAF-AMF-MIB later on successfully. Then, I can't find the loaded MIB file in the tree menu, but I can see the default sub-trees only under ISO tree. Would you com

Re: snmp.conf syntax

2009-08-11 Thread Dave Shield
2009/8/11 Michal Filka : > monitor -e  -r 60 "" myMIB::Value > 0 > monitor -e  -r 60 "" != myMIB::Value Is the token "" the same for both lines? >From snmpd.conf(5): monitor [OPTIONS] NAME EXPRESSION defines a MIB object to monitor . N

RE: snmp.conf syntax

2009-08-11 Thread Michal Filka
> 2009/8/11 Michal Filka : > > monitor -e  -r 60 "" myMIB::Value > 0 > > monitor -e  -r 60 "" != myMIB::Value > > Is the token "" the same for both lines? ... Names are different but 8 first letters is same > > Because the name is used as an index, then it must be unique. > If you u

Re: snmp.conf syntax

2009-08-11 Thread Dave Shield
2009/8/11 Michal Filka : >> 2009/8/11 Michal Filka : >> > monitor -e  -r 60 "" myMIB::Value > 0 >> > monitor -e  -r 60 "" != myMIB::Value >> >> Is the token "" the same for both lines? > ... Names are different but 8 first letters is same The trigger name can be up to 32 characters,

Re: problem while installing the netsnmp-5.4.2.1 on fedora core 8

2009-08-11 Thread sanjaykumar
Thanks Dave it work with configuration what you have suggested Thanks sanjay Dave Shield wrote: 2009/8/11 sanjaykumar : Hi All, I am facing the problem while installing the netsnmp-5.4.2.1 on fedora core 8 Step 1: ./configure --enable-internal-md5  --enable-ipv6 --disable-embed

regarding following two options retries and timeout under snmpcmd

2009-08-11 Thread sanjaykumar
Hi All,   I am going through the snmpcmd options:              I have some doubt regarding following two options under "man snmpcmd"    1.   -r retries   Specifies the number of retries to be used in the requests. The default is 5.  2.    -t timeout   S

RE: snmp.conf syntax

2009-08-11 Thread Michal Filka
> The trigger name can be up to 32 characters, > so as long as they're different, that should be OK. ... so it should be correct > > Try running the agent with *just* the second one. > Does it work or not? ... yes. I re-wrote directive and renamed monitor one more time and it started to work. So

Re: snmp.conf syntax

2009-08-11 Thread Dave Shield
2009/8/11 Michal Filka : > I have one more question related to disman ... Is it possible to used it for > SNMPv1 TRAP-TYPE? > It seems to me that only NOTIFICATION-TYPE is supported, but I'm not sure ... The DisMan monitoring simply says "send a notification". It doesn't control where those notif

RE: snmp.conf syntax

2009-08-11 Thread Michal Filka
> The DisMan monitoring simply says "send a notification". > It doesn't control where those notifications are sent, or what version > they should be. > That's the role of "trapsink" and similar. > > If you configure the agent with "trapsink", then it will send v1 traps. > If you configure the agen

Re: snmp.conf syntax

2009-08-11 Thread Dave Shield
2009/8/11 Michal Filka : > The question was if NOTIFICATION really has to be OID of NOTIFICATION-TYPE > or if it is possible to somehow put TRAP-TYPE here (I have to use some SMIv1 > mibs) The DisMan Event MIB is designed around SMIv2 syntax (rather than the obsolete v1) and assumes that notifica

Setting objects of type InetAddressType and InetAddress

2009-08-11 Thread chandan
Hi All, Consider the following MIB objects: pktcEUEDevOpSTUNAddrType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-create STATUS current DESCRIPTION " This data element identifies the data type of the value contained in 'pktcEUEDevOpSTUNAddr'."

Source code for 64bit net-snmp

2009-08-11 Thread Gopala Krishna
Hi, I would like to know if the source code for 64 bit version of snmp is available or not. If not please let us know when is it going to be available? Thanks in advance, Gopal -- Let Crystal Reports handle the repo

Re: Source code for 64bit net-snmp

2009-08-11 Thread Dave Shield
2009/8/11 Gopala Krishna : > I would like to know if the source code for 64 bit version of snmp is > available or not. The source code is available from the project website. There is no special "64-bit" version of the code. What you see there is what there is. Dave --

ask snmptrap

2009-08-11 Thread haries fajar nugroho
Hi All, I wanna ask about snmptrap, how can i do snmptrap for some oid ? for example, could snmptrap used for sending information about my disk usage (oid .1.3.6.1.2.1.25.2.3.1.6.1) to another NMS software ? if it's possible, how do i write it ? because everytime i search on internet, the example