Dear
all,
I've just installed net-snmp (ver 5.3.1) in a
embedded systemrunning linux
MontaVista.All seems work fine exceptfor creating new users.Due to the matter of
the system, it must be possible creating and deleting new users avoiding to
manually edit configuration files. Therefore
On 06/11/06, Jordi Farrés Saderra [EMAIL PROTECTED] wrote:
Now and I try to create new rw user using next command sequence:
[snip]
In above sequence you can see no error messages. All seems Ok
Fair enough.
The next thing to check is that these settings *have* been accepted by
the agent.
Try
I have some confusion in the use of CreateAndWait option of RowStatus
textual-convention. It says that if while creating a new row if we use
CreateAndWait, it will the set the row in one of the states: not in
service or not ready, based on the information available with the
sub-agent. Till the row
On 06/11/06, Sachin Mishra [EMAIL PROTECTED] wrote:
Suppose we create a new route entry in route Table and the status
is notInService. What will be effect of this? Will this update
routeTable?
I would expect this to update the routing table information cached within
the agent, but not to
I'm having bother with the get_request method.
I'm writing a script that will query a device via SNMP to check the
system time (it's a nagios check to make sure that devices are polling
NTP properly and not falling out of sync).
Unfortunately, the get request is returning in format I don't
On 06/11/06, Alan Cooper [EMAIL PROTECTED] wrote:
I'm doing a get_request for HOST-RESOURCES-MIB::hrSystemDate.0
(1.3.6.1.2.1.25.6.3.1.5.1).
A snmpwalk indicates I should be getting returned is something like:
2006-11-4,18:23:55.8
Not quite.
The snmpwalk command *displays* the value in this
The actual value is a binary string - 8 (or 11) characters long.
Which is exactly what you're receiving.
The snmpwalk command then uses the Display-Hint to
print this binary string in a more meaningful manner.
But it's up to the client side to interpret this - the agent just sends
the raw
On 06/11/06, Alan Cooper [EMAIL PROTECTED] wrote:
OK - I'm still beat though - is there an easy way to translate the
binary string to something human readable,
Try snprint_value()
Dave
-
Using Tomcat but need to do more?
Title: Message
I executed a small test with the snmpget command
running in a loop for the same parameter with a 1 second delay between each
requests. One out of every ten or so requests received this error message.
Also, this behaviour is seen for any parameter.
It seems the
subagent is
Hello,
I have such setup working on ucd-snmp-4.2.5 on Red Hat 7.3 Linux.
But now I'm trying to setup similar configuration with net-snmp-5.1.2
on CentOS4 (RHEL4) Linux and it does not work.
# uname -a
Linux server 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64
x86_64
On 06/11/06, Mindaugas [EMAIL PROTECTED] wrote:
But now I'm trying to setup similar configuration with net-snmp-5.1.2
on CentOS4 (RHEL4) Linux and it does not work.
That's a fairly old release now (and the 5.1.x line is no longer being
supported)
If you're installing a new configuration, it
On 02/11/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
Is it possible to send a payload as part of a Trap
Yes.
If yes, How can I do it.
How are you currently sending the trap?
Dave
-
Using Tomcat but need
On 02/11/06, R.L. Nevot [EMAIL PROTECTED] wrote:
I've found that snmptrapd is not passing the Agent Host Name (first line in
standard input of the program invoked from traphandle) and all I get is an
'UNKNOWN' string.
Do you still get the IP address as the second line?
What happens if you try
But now I'm trying to setup similar configuration with net-snmp-5.1.2
on CentOS4 (RHEL4) Linux and it does not work.
That's a fairly old release now (and the 5.1.x line is no longer being
supported)
If you're installing a new configuration, it would be sensible to work
with 5.3.x
(or
On 06/11/06, Mindaugas [EMAIL PROTECTED] wrote:
pass .20.3.6.1.4.1.9.2.2.1.1.20 /usr/local/bstat/bstat
snmpwalk server IP secret .20.3.6.1.4.1.9.2.2.1.1.20
D'oh!
I've only just spotted.
That's not a valid OID.
OIDs can *only* start with .0 .1 or .2
An OID starting with .20 is bogus.
I need to build an agent extention with a table which have inside it's entry
another table.
something like that:
-myroot(100)
|
..
|
+--crTable_A(11)
| Index: crIndexTable_A
|
+--crEntryTable_A(1)
|
+-- INTEGER
From your message I don't know which problem you're saying is fixed. I
knew better than reporting 2 problems at once but did it anyway. At any
rate I'll assume you're talking about the problem with the failure in
async.t.
No change:
cd net-snmp-5.3.1*
make uninstall
cd ../net-snmp-5.4*
On 06/11/06, Enzo Arlati [EMAIL PROTECTED] wrote:
I need to build an agent extention with a table which have inside it's entry
another table.
You can't. SNMP doesn't support such structures.
What you *can* do is define two parallel tables, where the second
table is indexed
by two (or more)
On 24/10/06, Joao Miguel Ferreira [EMAIL PROTECTED] wrote:
Since you say you've tried sending queries from the box itself, that
would tend to point the finger at the local firewall settings.
In my firts e-mail I have sent the firewall settings...
...do you understand iptables.???.. I'm
Dave Wrote:
How are you currently sending the trap?
I have figured the way to do it.
I am adding the pay load to the variable list using the method given
below
snmp_varlist_add_variable(var_list,
myTrapPayLoad_oid,
OID_LENGTH(myTrapPayLoad_oid),
On 06/11/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
snmp_varlist_add_variable(var_list,
myTrapPayLoad_oid,
OID_LENGTH(myTrapPayLoad_oid),
ASN_INTEGER,
(u_char *)id,
Title: Table Iterate queries
Hi,
I was using data-set method for accessing table parameters, where in I cant change the index once assigned as my implementation includes varying row numbers table for each request.
So I tried to use iterate method. Can anybody help in setting up iterate
On 06/11/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
Using iterate method of accessing table parameters how to find the column
information
The model used by the iterate helper is to separate the processing into two
separate stages. The get_{first,next} routines are concerned with
Hi all,I don't know if this question is suitable or not. But, i just want to ask a question.If i had a program running in the server. And i would like to monitor the program status all the time. Right now, i'm just do some crond to check the status of the program. like ps -elf | grep
pass .20.3.6.1.4.1.9.2.2.1.1.20 /usr/local/bstat/bstat
snmpwalk server IP secret .20.3.6.1.4.1.9.2.2.1.1.20
D'oh!
I've only just spotted.
That's not a valid OID.
OIDs can *only* start with .0 .1 or .2
An OID starting with .20 is bogus.
Nothing changes if I change .20 to .2.
25 matches
Mail list logo