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:
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
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
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
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
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
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
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
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 ---
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
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
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
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
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
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
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
> 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:
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
> 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
> 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
> 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
> 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
> 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
[ 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
> "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
> 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
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
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
> 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
> 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
> 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
> 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
>
> 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
> 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
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
> 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
> 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
> 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
>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.
[ 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
> 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
> 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
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
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
> 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
> [ 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"
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
[ 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
48 matches
Mail list logo