RE: Hex-to-ASCII of varbins

2004-09-09 Thread HOFKENS Hans \(BMB\)
This is from the veritas cluster server mib... The OID of the varbin is 1302.8.10.1.14. Even in ethereal it doesn't get printed as ascii. The last char is a 0x0a. Thanks Hans -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:38 PM To:

Re: Hi

2004-09-09 Thread Sitaraman .V.R
Hi Dave, While the below works(case1), it appears even with increasing OID listing there are cases where the agent does not start. Case4, Case5 and Case6. Sitaraman > Try moving the 'LABCALLSINDEX' entry to immediately after the > 'EXAMPLETIMETICKS' entry. > > (Though you shouldn't actually have

Ye Huang/ITG is out of the office.

2004-09-09 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is f

Ye Huang/ITG is out of the office.

2004-09-09 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is f

Ye Huang/ITG is out of the office.

2004-09-09 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is f

Ye Huang/ITG is out of the office.

2004-09-09 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is f

waitpid for child processes invoked from agent

2004-09-09 Thread Jim Su
Hi Greeting: I have one stand alone program to call a API to open a socket to access data from a daemon. The invoke to the API is child process of the daemon. This program works fine. Then I added the code of the program to my net-snmp agent module. The API is in the library *.a file

Re: group creation and deletion

2004-09-09 Thread Tina Agarwal
Thanx Dave, I will always keep this in my mind from now onwards.. Regards! Tina - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Tina Agarwal" <[EMAIL PROTECTED]> Cc: "net-snmp-users" <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 7:24 PM Subject

Re: How to specify the number of retries to be used when calling send_v2trap

2004-09-09 Thread duan zhiheng
Thank Dave! I have another question that if I add "informsink ..." syntax in snmpd.conf, agent will send inform to nms other than trap. Then nms will send an inform response to agent, but how can I confirm this response on agent side? Best regards, zhiheng 09.10 - Original Message ---

PLEASE HELP - newbie question

2004-09-09 Thread Pedro Neves
Dear all:   I am sorry for boring you again with this basic question but I can’t understand it. I am following the flow code of the snmptable application and can not distinguish between the struct node and the struct tree defined in parse.h file.   Can someone please help me?   I ha

Re: Default community configuration

2004-09-09 Thread Users
On Thu, 09 Sep 2004 13:19:34 -0400 [EMAIL PROTECTED] wrote: CRC> Looking at snmpd.conf.5, I find: CRC> CRC> The default configuration of the agent, as shipped, is functionally CRC> equivalent to the following entries: CRC> CRC> com2sec publicdefault public CRC> group publ

Re: Help reqd!

2004-09-09 Thread Users
On Thu, 26 Aug 2004 11:45:23 +0530 Pranay wrote: PA> I am trying to install "net-snmp-5.1.2-1.fc2.i686.rpm" on my machine PA> running fedora core 2 but I am getting the following message. Can somebody PA> help me in this regard..or may be send me some more info on what I may b PA> missing or doing

Re: Passing the listener address of the inbound request to the subagent?

2004-09-09 Thread Users
On Thu, 9 Sep 2004 15:39:09 -0400 bill wrote: BS> I've got a Solaris box set up with multiple interfaces. I've written a BS> subagent that responds to a particular part of the OID tree, but I BS> need the subagent it to provide different information based upon the BS> listener address(which interfa

Passing the listener address of the inbound request to the subagent?

2004-09-09 Thread bill smith
I've got a Solaris box set up with multiple interfaces. I've written a subagent that responds to a particular part of the OID tree, but I need the subagent it to provide different information based upon the listener address(which interface the request comes in on). (Or, have snmpd "call" a differen

Re: SNMPv3 and encryption

2004-09-09 Thread cnelson
I'm making progress. I've got a com2sec/group/view/access implementation of the default public and private communities. Now I'm trying to add an authorized user and it's not working. My /usr/share/snmp/snmpd.conf includes: group admin usm admin view all included .1 acces

Default community configuration

2004-09-09 Thread cnelson
Looking at snmpd.conf.5, I find: The default configuration of the agent, as shipped, is functionally equivalent to the following entries: com2sec publicdefault public group publicv1 public group publicv2c public group publicusm public v

Re: SNMPv3 and encryption

2004-09-09 Thread cnelson
> I'm trying to get my head around SNMPv3, specifically the security > aspects. ... If there's a FAQ or tutorial on this, I'd be > happy for the pointer but I haven't found anything that says, "If > you want to use v3, you have to generate keys and install them like > this...". I found http:

SNMPv3 and encryption

2004-09-09 Thread cnelson
I'm trying to get my head around SNMPv3, specifically the security aspects. I've read the FAQ and skimmed the RFCs but I need a little more orientation, if someone could oblige. The/a big differenece between v2c and v3 is that v2c uses a community string, passed in the clear whereas v3 uses a

Re: How to specify the number of retries to be used when calling send_v2trap

2004-09-09 Thread Dave Shield
> how to specify the number of retries and timeout to > be used when I call the method send_v2trap(...) to send a inform. Try trapsess -i -r NUM -v 2c -c community destination (where NUM is the number of retries) Basically, the "trapsess" line contains the options from a simi

Re: Problem with trap handling

2004-09-09 Thread Dave Shield
> 1) I created a MIB file > > demotraps OBJECT IDENTIFIER ::= { ucdExperimental 990 } > > demo-trap TRAP-TYPE > ENTERPRISE demotraps > ::= 17 > traphandle TRAP-TEST-MIB::demo-trap /home/nba/bin/traps demo-trap I would *strongly* suggest that you define your MIBs using SMIv2 rather than SM

Re: Hex-to-ASCII of varbins

2004-09-09 Thread Dave Shield
> I asked this because the variable I was having problems with was defined > as displayString... > The value send over was:"Thu Sep 9 12:51:24 2004." > > Don't know why it got printed out as hex... Hmmm nope - neither do I. If the MIB file was being loaded, then the "DisplayString" sh

Re: snmpvacm createSec2Group failure!???

2004-09-09 Thread Dave Shield
> Step1: snmpusm -v3 -u old -n "" -l authNoPriv -a MD5 > -A netsnmp_password localhost create newuser old > > Step2: snmpusm -v3 -u newuser -n "" -l authNoPriv -a MD5 > -A netsnmp_password localhost passwd > netsnmp_password new_password > > Step3: snmpvacm localhost cre

Re: variable binding question in getBulk

2004-09-09 Thread Dave Shield
> How many variable bindings can be arraranged in a getBulk Message low. It depends. It depends on the values that are being returned, and the capabilities of the two ends of the conversation. > I wish to processing getBulk message which variable binding numbers are 44, and max > repetitions a

Re: Loading a new MIB

2004-09-09 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. T

Re: snmpset - where does the newly set value get stored

2004-09-09 Thread Dave Shield
> "snmpwalk -Os -v2c -c public 10.0.77.65 1.3.6.1.6.3.1.1.5.1" to check value. > the result is coldStart = No Such Object available on this agent at this OID Notification OIDs are *purely* used to identify traps. There's no value associated with them. Rather thay are used as values themselves (in

Re: snmpset - where does the newly set value get stored

2004-09-09 Thread Dave Shield
> When I execute the following command and set the sysContact information. > Where does the new value get stored In the "persistent" snmpd.conf file (typically /var/net-snmp/snmpd.conf) That's for this particular object. Different objects will save the results (or not) in different ways. There's

Re: magic numbers

2004-09-09 Thread Narinder Soni
My question is answered from the first part which you have explained. I am using v4 API (ucd-snmp-4.2.5). I already tried to do the same i.e. { 1, .,, var_this, . }, { 2, .,, var_this, . }, { 1, .,, var_that, . } it didn't give any problem but still

RE: group creation and deletion

2004-09-09 Thread Andrews, Glenn J (Glenn)
A standard pkill -HUP pid would be nicer :) Glenn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Thursday, September 09, 2004 9:55 AM To: Tina Agarwal Cc: net-snmp-users Subject: Re: group creation and deletion > I killed the a

Re: newbie to snmp ...

2004-09-09 Thread Dave Shield
> I've understood how to get information from my DSL 3com router from my > Linux Mandrake. I think I've understood the "community" set > (public/private : is there no more security ? no passwords ?). With SNMPv1 and SNMPv2c, the community string tends to be regarded as a sort of password. It's

Re: Overall CPU usage info in 5.1.2 release

2004-09-09 Thread Dave Shield
> I am looking for Overall CPU usage info in net-snmp 5.1.2 on solaris > 5.8. I didn't see hrProcessorLoad info from host-resource-mib. No - we don't support that particular object. > Is there any other MIB I could look into? Try UCD-SNMP-MIB::ssCpuRaw* Dave

Re: MIB files needed for Dynix/ptx 4.4.x

2004-09-09 Thread Dave Shield
> Does anyone know of where I could aquire the MIB files > (either ASN or OID format) for Dynix/ptx 4.4.x? Have you tried www.mibdepot.com ? Dave --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins t

Re: magic numbers

2004-09-09 Thread Dave Shield
> 2) Will there be any problem if I change the value of magic numbers and > start them from 1 for each respective table in the same array structure? > which means the value of these magic numbers will not be unique in the > same structure but they will be unique for their respective tables and >

Re: after startup snmpd, snmpd became 'Z' status

2004-09-09 Thread Dave Shield
> follow is my script startup snmpd: [blah, blah, blah] > ${ROOT}/sbin/snmpd -q -d -Lsd -Leo -a -Lf /var/run/snmpd.log -p > 115 rootZ [snmpd] > 116 root 2240 S /root/snmp/sbin/snmpd -q -d -Lsd -Leo > i see the snmpd's status is 'Z'.. but agent is running

Re: local only mib numbers?

2004-09-09 Thread Dave Shield
> Is there a mib equivalent of (eg) 192.168.0.0 (or private IP address > ranges)? Not as standard, no. Since anyone can apply for a personal enterprise number (and then organise that tree however they see fit), there's never been the need for this. However, we've set aside an area of the netSnm

RE: Hex-to-ASCII of varbins

2004-09-09 Thread HOFKENS Hans \(BMB\)
Sorry and Thanks. I asked this because the variable I was having problems with was defined as displayString... eventTime OBJECT-TYPE SYNTAX DisplayString (SIZE (0..50)) ACCESS read-only STATUS mandatory DESCRIPTION "Events time since 00:00 Universal Coordinated

Re: Loading a new MIB

2004-09-09 Thread Dave Shield
> When I add a MIB I created, What else do I need to do to make sure it > can be found? I'm getting "Module not found" error. This is a client-side error, yes? I.e. 'snmptranslate' fails to report on objects in that MIB - correct? > I placed it in the default /usr/share/snmp/mibs/ (PC). I have

Re: IPv6 MIBs support in NET-SNMP-5.1.1

2004-09-09 Thread Dave Shield
> I am using NET-SNMP-5.1.1. Can somebody let me know whether following MIBs are > supported in this release? > I have gone through the code and mibs directory to find out details about these > MIBs. > I could not find details about the following MIBs. > IP Version 6 MIB for the Transmiss

Re: Hi

2004-09-09 Thread Dave Shield
> Code: > struct variable3 example_variables[] = { > {EXAMPLESTRING, ASN_OCTET_STR, RONLY, var_example, 1, {1}}, > {EXAMPLETIMETICKS,ASN_TIMETICKS, RONLY, var_example, 1, {2}}, > {EXAMPLEIPADDRESS,ASN_IPADDRESS, RONLY, var_example, 1, {3}}, > {EXAMPLECOUNTER, AS

Re: Help needed for BITS implementation

2004-09-09 Thread Dave Shield
>I am facing some problem while implementing Accounting control MIB > i.e one of the entry has data type BITS value ranges from 0-9 , I am > passing the bit value through character array (size 2).But it is taking > the value present in the first character , not reading the second > character.

Re: Hex-to-ASCII of varbins

2004-09-09 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. T

Re: Building a binary package for RedHat9.0

2004-09-09 Thread Dave Shield
> Is there a ready referal source which can give me the exact steps carried to > build a binary rpm package for RedHat9.0? If not, it would be great if > someone could tell me these exact steps? Try downloading the 'src.rpm' file from the project website, unpacking it, and then running rp

Re: group creation and deletion

2004-09-09 Thread Dave Shield
> I killed the agent process by "kill -9 pid" Argg!! Then you deserve everything that happens to you! Never, never, NEVER use "kill -9" unless you've tried absolutely *EVERYTHING* else first. This is telling the agent "Shut down now - don't bother trying to close tidily or save

parse.h question

2004-09-09 Thread Pedro Neves
Dear all:   Can someone please explain me the difference between the struct node and the struct tree defined in parse.h file?   Thanks in advance   Best Regards, Pedro Neves  

Re: group creation and deletion

2004-09-09 Thread Tina Agarwal
Yes, it was created using "snmpvacm". I killed the agent process by "kill -9 pid" and restarted it "net-snmp-5.0.8/agent/snmpd". But Dave, This problem is not persistent. Sometimes it comes and sometimes it does not. Can you please tell me the proper steps of creating and deleting the group, s

Re: Hex-to-ASCII of varbins

2004-09-09 Thread Dave Shield
> We see some problems with octet strings that get not translated and > printed out as hex. Probably because of uncommon characters (like an EM, > 0x19). > Is there any way to avoid this? $ snmpwalk -h : -O OUTOPTSToggle various defaults controlling outp

Re: group creation and deletion

2004-09-09 Thread Dave Shield
> [ Very Sorry to send an HTML mail. My Plain text conversion > is having a problem ] OK - I'll let you off the standard whinge this time > 1)"snmpwalk -c public -v2c 10.254.24.227 1.3.6.1.6.3.16.1.2.1.3". : > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."mygroup"

Hex-to-ASCII of varbins

2004-09-09 Thread HOFKENS Hans \(BMB\)
Title: Hex-to-ASCII of varbins Hello We are using snmptrapd version 5.1.2. We see some problems with octet strings that get not translated and printed out as hex. Probably because of uncommon characters (like an EM, 0x19). Is there any way to avoid this? It is quite annoying as the hex st

group creation and deletion

2004-09-09 Thread Tina Agarwal
[ Very Sorry to send an HTML mail. My Plain text conversion is having a problem ]   Hi,I have a small question. The sequence of operation goes like:1)    I did "snmpwalk -c public -v2c 10.254.24.227 1.3.6.1.6.3.16.1.2.1.3". It shows me output:SNMP-VIEW-BASED-ACM-MIB::vacmGroupNa