Peter,
I'm not an php expert but it seems you are writing the command line
arguments to a file. I do not believe that is how traphandle works.
I've got a traphandle program written in C. They way snmptrapd sends it
traps is via executing the C program and then writing the traps to
STDOUT to be
I'm confused about the OID that is sent with 'xupstbControlOff'
Here is a section from the MIB:
-- Traps (xupst)
--
-- 1) Powerware's traps are defined in this MIB for three different
sources:
-- a) Basic Agents for which the trap variables have not been
defined,
-- though trap
I'm confused about the OID that is sent with 'xupstbControlOff'
Here is a section from the MIB:
-- Traps (xupst)
--
-- 1) Powerware's traps are defined in this MIB for three different
sources:
-- a) Basic Agents for which the trap variables have not been
defined,
-- though trap
I have a server that runs a program in Perl that tries to ping heartbeat
some remote devices. Typically when the device goes down it will email
notify someone. I have a customer who would also like an snmp trap. I
do not want to have to create a whole mib with an extension of our
enterprise
Hello,
My customers send me MIBs so I can enter the trap OID, Var OID's and
values into our monitoring application. The MIBs obviously do not give
me the values only the var OIDs. I can look in the equipment manual for
all possible values.
Here is a trap for an IPO Avaya System:
Wow. Thanks,
Is there a net-snmp implementation to use the net-snmp api in perl?
On Wed, 2004-11-17 at 11:49, Robert Story wrote:
On Tue, 16 Nov 2004 11:17:42 -0500 Christopher wrote:
CF use Net::SNMP;
This is covered in the FAQ:
. )
http://www.sensage.com
mailto:[EMAIL PROTECTED]
OFFICE: +1 415-281-1900x128
CELL: +1 415-640-6392
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Fowler
Sent: Tuesday, November 16, 2004 8:18 AM
To: [EMAIL PROTECTED]
Subject
I have an agent on a remote device that returns me OID's in the number
syntax. I want to convert those numbers to a readable text string.
Here is my test code:
use Net::SNMP;
my $n = Net::SNMP-new();
my $t = $n-snmp_type_ntop('iso.3.6.1.4.1.14264.1.1.0.3');
print [$t]\n;
Here is output:
[EMAIL