On 01/12/2007, goon863 [EMAIL PROTECTED] wrote:
I want to change the notification trap time through an oid in agent
What do you mean by the notification trap time ?
Dave
-
SF.Net email is sponsored by: The Future of Linux
Dave Shield schrieb:
On 01/12/2007, Frank Fock [EMAIL PROTECTED] wrote:
What seems to be strange, that a walk on diskIOWrites.5 returns
a diskIOWrites.5 instance. I would have expected an instance with OID
diskIOWrites.5 instead.
That's deliberate.
Conceptually, the behaviour of
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop
Hello list,
I am porting a trap handler code from net-snmp-4.2.7 to net-snmp-5.4.1
on Solaris and linux platforms
To extract addresses (with net-snmp-4.2.7), there was the following code:
char agentAddr[50];
char senderAddr[50];
struct sockaddr_in *agentIp = (struct sockaddr_in
On 03/12/2007, Violette Moulin [EMAIL PROTECTED] wrote:
case MODE_SET_ACTION:
myFloat =
atof(netsnmp_strdup_and_null(requests-requestvb-
val.string, requests-requestvb-val_len));
break;
No - the Net-SNMP library has already converted the value into
a float.
On 03/12/2007, Alain GUENRO [EMAIL PROTECTED] wrote:
With net-snmp-5.4.1, the stuct snmp_dpu fields were modified:
- snmp_ipaddr address; was replaced by void * transport_data;
- snmp_ipaddr agent_addr; was replaced by unsigned char agent_addr[4];
Which code can be use to extract addresses
Hi all,
Please excuse me for my bad english, I hope you'll understand my problem.
I've set an Opaque type (float) in my MIB. In my subagent C file, I wrote :
static float myFloat;
...
int SnmpEagleSubagent::handleInstance(...)
{
switch (reqinfo-mode)
{
case MODE_GET:
I'm trying to generate output in the form OID, attribute, Description.
With no agent session, if the mibs are loaded, the following works:
print $SNMP::MIB{sysDescr}{description}.\n;
By the following returns an empty array:
@array=(keys %SNMP::MIB);
Any advice would be helpful.
Thanks,
Matt
Hi All,
I have one basic question regarding SNMPv2 GET response PDU.
Suppose manager has queried for 3 attributes say v1, v2, v3, v4
Now suppose the response for the attributes are as follows.
V1success
V2 error (No Such instance)
V3 error (No