OK. Thanks a lot for confirming this.
Thanks,
Anu
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, October 29, 2007 6:05 PM
To: Anuradha Bhakta
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Is it possible to get informatio
When I snmpwalk a Linux or Windows host I can see values returned for a
list of proceses that might include:
HOST-RESOURCES-MIB::hrSWRunName.1350 = STRING: "httpd"
and an assortment of associated things like:
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1350 = INTEGER: 1885
HOST-RESOURCES-MIB::hrSWRunPerfMe
On 30/10/2007 <[EMAIL PROTECTED]> wrote:
> Is there an api (function call) in net-snmp to do that?
read_objid()
See the 'mib_api' man page.
> If not, is mib2c compiler source code available anywhere?
It's a perl script - so
less `which mib2c`
should work :-)
> After t
Hi Dave,
Is there an api (function call) in net-snmp to do that? If not, is mib2c
compiler source code available anywhere? After the mib file loaded by
net-snmp, I want to register individual mib node and its corresponding
handler function using its node name instead of oid (if I don't run mib
I'm sorry! I didn't want to sound lazy, but sometimes we ask questions when
we should stop and think a little.
The answer was simple after all.
In the first time I do :
setspinLock = 1;
netsnmp_set_row_column(rowData, COLUMN_SPINLOCK,
ASN_INTEGER,&setspinLock , size
#snmpd -f -Le
Turning on AgentX master support.
NET-SNMP version 5.4.1
I ps -ef'd it and it appears to be running now?
Thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, October 30, 2007 10:52 AM
To: Smith, Randy
Cc: net
On 30/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> /var/agentx does not exist.
Try creating this directory. Then restart the agent ("snmpd -f -Le")
What does this report?
Dave
-
This SF.net email is sponsored b
I'm starting the agent as 'root'. Everything is owned by 'root' because
I configured/built/installed as 'root' (I had to). /var/agentx does not
exist.
Randy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, October 30, 2007 10:
On 30/10/2007, andre robalo <[EMAIL PROTECTED]> wrote:
> Last question: when adding a new row , the spinlock column will be null! How
> can I initialize the spinlock column when a row is created ?
Have a look at the code that actually creates the row,
or defines the structure of the default row.
Thank you very much for your answer.
>> More seriously, if data is NULL, then you can't access data->data!
Of course, stupid mistake!
Last question: when adding a new row , the spinlock column will be null! How
can I initialize the spinlock column when a row is created ?
Something like:
if(dat
On 30/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> # snmpd -f -Le
> Turning on AgentX master support.
> Error: Couldn't open a master agentx socket to listen on ():
OK - that's the most important thing to fix.
Does the directory /var/agentx exist?
Who is it owned by, and what are the p
Thank you for your response.
# snmpd -f -Le
Turning on AgentX master support.
Error: Couldn't open a master agentx socket to listen on ():
Should I create an agentx.conf file perhaps?
< Sorry - it's not quite clear what you mean by that last.>
At the command line, when I execute snmpd as foll
Thanks Dave .
I am a newbie to netsnmp and it saved lot of my time.
On 10/30/07, Dave Shield <[EMAIL PROTECTED]> wrote:
>
> On 30/10/2007, Deepak Pandian <[EMAIL PROTECTED]> wrote:
> > Our requirement demands us to remotely manage large number of devices
> > of the same type.
> > ... we will hav
On 30/10/2007, Deepak Pandian <[EMAIL PROTECTED]> wrote:
> Our requirement demands us to remotely manage large number of devices
> of the same type.
> ... we will have multiple subagents all of which will have the same OID.
>
> Hence our subagent registration fails for the second device itself.
Hi all,
Our requirement demands us to remotely manage large number of devices
of the same type.
We are having a master agent at the site which will have to
communicate with the subagents in each of these devices to serve
external request.
I have observed through the logs that during regi
-
Hi all,
Our requirement demands us to remotely manage large number of devices of
the same type.
We are having a master agent at the site which will have to communicate
with the subagents in each of these devices to serve external request.
I have observed through the logs that during reg
Dear Dave:
I am sorry, I forget to answer your question.
Is this an answer you want:
myTest.c
...
/** Initialize the myTestSecondFieldTable table by defining its contents and
how it's structured */
void
initialize_table_myTestSecondFieldTable(void)
{
static oid myTestSecondFieldTable_oid[
On 30/10/2007, andre robalo <[EMAIL PROTECTED]> wrote:
> In all examples i saw, the use of a spin lock object is only by scalar
> objects.
> I have a situation where I need to use this concept, but applied to a table.
A spin lock is typically *implemented* as a scalar object,
but it's perfectly co
On 29/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> In following the tutorial for creating a subagent, the tutorial
> instructs me to add the "master agent" line to snmpd.conf, which I do.
I presume you mean "master agentx" (as you have later)
> Then, I restart snmpd and do "ps -ef", a
Good morning!
I have one question regarding the spin lock concept.
In all examples i saw, the use of a spin lock object is only by scalar
objects.
I have a situation where I need to use this concept, but applied to a table.
In this situation, i would have a table column that is a spinlock
(testAnd
In following the tutorial for creating a subagent, the tutorial
instructs me to add the "master agent" line to snmpd.conf, which I do.
Then, I restart snmpd and do "ps -ef", and snmpd process doesn't appear.
The interesting thing is that when I execute snmpd, it appears to
execute from the command
On 30/10/2007, thommandra gowtham <[EMAIL PROTECTED]> wrote:
> I have a question on SNMP variable length string support. Suppose a MIB
> contains.
> LinkName ::= OCTET STRING (SIZE(1..8))
> demoEntryString OBJECT-TYPE
> SYNTAX LinkName .
> ::= {demoEntry 2}
> demoEntry OBJECT-TYP
Hi
I have a question on SNMP variable length string support. Suppose a MIB
contains a variable length string declared as follows
LinkName ::=
OCTET STRING (SIZE(1..8))
and have change the definition for demoEntryString to:
demoEntryString OBJECT-TYPE
SYNTAX LinkName
M
On 30/10/2007, pavithra s <[EMAIL PROTECTED]> wrote:
> Sorry V3 is quicker than V1 , Even i thought the processing time for V3 will
> be more because of the authentication and other related work. But it is
> happening other way round.
Do you get the same results from both requests?
Or does one wal
On 30/10/2007, <[EMAIL PROTECTED]> wrote:
> Suppose mib node names in a subtree are all unique,
The node names within a single MIB module must be unique.
As must all node names within "official" IETF MIBs.
It's not strictly necessary for node names in private MIBs to
be globally unique, but it's
On 30/10/2007, Jack Chen <[EMAIL PROTECTED]> wrote:
> Dear All:
> When walk to "myTestSecondField1", then break, and show "problem
> encountered in myTestSecondFieldTable_handler: unknown column" in
> /var/log/snmpd.log.
> I use version 5.3.1.
> My friend tell me, the version 5.2.2 can not.
>
>
26 matches
Mail list logo