| #H3C-acl-basic-2000-heimdali]rule 10 permit source 192.168.3.20 255.255.255.0
time-range always
| [H3C-acl-basic-2000-heimdali]display this
| #
| acl number 2000 name heimdali
| description allow SNMP
| rule 10 permit source 0.0.0.20 255.255.255.0 time-range always
| rule 20 deny
| #
| retur
Hi!
It looks like the password issue, maybe password is incorrect or not set
properly?
This value (16) can be stored on the device.
Did you try to reboot host.example.com and see the value of
usmStatsWrongDigest counter?
23.04.17 6:30, lee пишет:
Hi,
Net::SNMP only gives a useless
Hi,
Net::SNMP only gives a useless error message "ERROR: Received
usmStatsWrongDigests.0 Report-PDU with value 16 during synchronization."
with the number (16) increasing by 1 every time I run the program?
What is this supposed to tell me? How is it possible for the number to
be incr
I am trying to write a script that takes the extend name as an arg and retrieves
the output for further processing.
I am not sure how to do this, get_request() needs a numeric oid, is there a
way around this or is get_request() not the best way to do this?
Thanks for any help,
jlc
--
To unsubscr
; Is it correct ?. Can i replace the string with this decimal values ?.
>
> Shammi
>
>
>
> - Original Message
> > From: Shameem Ahamed
> > To: beginners@perl.org
> > Sent: Wed, November 18, 2009 6:36:42 PM
> > Subject: Net::SNMP OID doubt
> >
Hi,
Thanks for the replies. I asked in this list, because initially i thought it
was a problem with the Net::SNMP module. Sorry for the same.
I have one more doubt. Is there any tool, which i can use for automatically
converting this strings to OIDs.
Regards,
Shammi
- Original Message
> From: Shameem Ahamed [mailto:shameem.aha...@yahoo.com]
>
> SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1
>
> Is it correct ?. Can i replace the string with this decimal values ?.
>
It's the wrong list for your question, but yes, you can substitute all names
with the corresponding OIDs (
November 18, 2009 6:36:42 PM
> Subject: Net::SNMP OID doubt
>
> Hi All,
>
> I am trying to create a script to get the logical disk status using Net::SNMP.
>
> My snmpget query is
>
> snmpget -v2c -t 1 -r 9 -m ALL -v 1 -c public localhost:161
> SNMPv2-SMI::enterpri
Hi All,
I am trying to create a script to get the logical disk status using Net::SNMP.
My snmpget query is
snmpget -v2c -t 1 -r 9 -m ALL -v 1 -c public localhost:161
SNMPv2-SMI::enterprises.1714.1.1.2.1.6.1
In this , OID part is SNMPv2-SMI::enterprises.1714.1.1.2.1.6.1
In the Net::SNMP
Again: this is _not_ referring to the "Net::SNMP" module
(http://search.cpan.org/~dtown/Net-SNMP-5.2.0/lib/Net/SNMP.pm)
but to Net-SNMP (the corresponding Perl module is just "SNMP")
(http://net-snmp.sourceforge.net/docs/perl-SNMP-README.html)
(The similar names certainly cau
Peter Daum wrote:
>
> I am trying to retrieve a bit vector containing the error status of
> a printer with the Net-SNMP module.
>
> With the command line snmpget program, this works:
>
> # snmpget -v1 -cpublic printer .1.3.6.1.2.1.25.3.5.1.2.1
> HOST-RESOURCES-MIB::hrPri
Hi,
I am trying to retrieve a bit vector containing the error status of
a printer with the Net-SNMP module.
With the command line snmpget program, this works:
# snmpget -v1 -cpublic printer .1.3.6.1.2.1.25.3.5.1.2.1
HOST-RESOURCES-MIB::hrPrinterDetectedErrorState.1 = Hex-STRING: 00
With the
Jordi Moles Blanco schreef:
> my $path = $ARGV[3];
my ($path) = $ARGV[3] =~
m{ ^# SOB
(# start capturing
(?:# start group
/ # a slash
[a-z]+ # followed by 1 or more lowercase letters
)
En/na Raymond Wan ha escrit:
Hi Jordi,
Jordi Moles Blanco wrote:
1. how can i "untain" that var?
2. can i modify the way that snmp works to disable that "-T" flag
when it passes the control to the perl script?
i've tried to untain the var with any means
Hi Jordi,
Jordi Moles Blanco wrote:
1. how can i "untain" that var?
2. can i modify the way that snmp works to disable that "-T" flag when
it passes the control to the perl script?
i've tried to untain the var with any means i've found, like this o
hi,
I'm really struggling with this and i would very pleased if you could
help me.
I'm using a perl script to extend snmp functionality.
As you already now, when snmp "passes" the control to the perl script,
it enables the flag "-T" . Therefore, the problem is
On Dec 20, 2007 3:17 AM, Anirban Adhikary <[EMAIL PROTECTED]> wrote:
> Dear List
>
> I want to write a system monitoring script using SNMP protocol. So for that
> reason I need a sample script in PERL using NET::SNMP module of SNMP agent
> as well as SNMP manager. Regarding t
Dear List
I want to write a system monitoring script using SNMP protocol. So for that
reason I need a sample script in PERL using NET::SNMP module of SNMP agent
as well as SNMP manager. Regarding this if I get any help from you people I
will be highly obliged.
Thanks&Regards in advance
Ani
HI,
if got a short question about the usage auf snmp.pm and snmp::multi.
I bundle request which are queued for the same timeframe, to get rid
some overhead.
I noticed that requests done with only a single nonrepeaters var, return
an array of varlists containing an array of datafield. @{var}{data
hi all
I need translate snmp oid - analog of snmptranslate utility.
this method in SNMP module, but i use Net::SNMP...
which module better for use snmp. thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Doroshok Stanislav 写道:
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
Try cpan:
http://search.cpan.org/~gbarr/libnet-1.21/Net/SMTP.pm
SMTP?
http://searc
Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 16:02, Eugene Kosov написав:
Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
T
п'ятниця 08 червень 2007 16:02, Eugene Kosov написав:
> Doroshok Stanislav wrote:
> > п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
> >> Doroshok Stanislav 写道:
> >>> hi all
> >>> I need snmptranslate analog in perl
> >>> i use
Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
Try cpan:
http://search.cpan.org/~gbarr/libnet-1.21/Net/SMTP.pm
SMTP?
SNMP - Simp
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
> Doroshok Stanislav 写道:
> > hi all
> > I need snmptranslate analog in perl
> > i use Net::SNMP module but can't find this method.
>
> Try cpan:
> http://search.cpan.org/~gbarr/libnet-1.21/Net/SMTP.pm
SMTP?
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
Try cpan:
http://search.cpan.org/~gbarr/libnet-1.21/Net/SMTP.pm
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
which module better for SNMP? thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi
I tray to install the snmp-info module on my win32 perl envo.
But with ppm the module came not in the search result
And installing the module with the tar file downloaded from cpan is not
working because of win 32 as no make command.
And nmake do not please the files in the
e: Problems with set-request NET::SNMP - retransmited
On Oct 5, Bobby Jafari said:
> 1 $result = $session->set_request (
> 2 -varbindlist => [ "${secPvcBulkModeOid}.${nextVcatIndex}" ,
> INTEGER, "1",
[...]
> 9# "${secPvcUpdate
re hour and minutes in Hex format. My guess is
> > that the set-request is expecting a string but somehow PERL is passing
> > it as ASCI characters or ...
>
> Try sending it as "# 10 1" and see if it works. The Net::SNMP docs only
> show ONE example of using OCTET_ST
ording to the MIB definition, it should be in the form of # 0xHH
0xMM Where HH and MM are hour and minutes in Hex format. My guess is
that the set-request is expecting a string but somehow PERL is passing
it as ASCI characters or ...
Try sending it as "# 10 1" and see if it works. T
}" ,
INTEGER, "4" ] );
The line with OCTET_STRING as the data type, is giving me grief.
According to the MIB definition, it should be in the form of # 0xHH
0xMM Where HH and MM are hour and minutes in Hex format. My guess is
that the set-request is expecting a string but somehow PE
Oid}.${nextVcatIndex}" ,
INTEGER, "4" ] );
The line with OCTET_STRING as the data type, is giving me grief.
According to the MIB definition, it should be in the form of # 0xHH
0xMM
Where HH and MM are hour and minutes in Hex format. My guess is that the
set-request is expecting a st
Subject
RE: snmp requests CORRECTED
HI. There's really two parts you need to have for a snmp get request. The
first part is the object identifier (OID). This is the long string of
numbers. The second part is the instance number. That is the zero at the end
you're asking about.
.iso.org.dod.internet.mgmt.mib-2.interfaces.
cc
Subject
Please respond to RE: snmp requests CORRECTED!
<[EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 15, 2005 3:52 PM
> To: 'Perl Beginners '
> Subject: snmp requests CORRECTED!
>
>
> All,
>
> to get the number of interfaces via a snmp c
All,
to get the number of interfaces via a snmp call from a perl program I would
say:
get_request("1.3.6.1.2.1.2.1.0");
After referencing the MIB, I can follow the path to interfaces, but I get
lost at 0 as there is no 0 on the MIB map.
Is there another map?
BEGIN
- - - - - - - -
i
All,
to get the number of interfaces via a snmp call from a perl program I would
say:
get_request("1.3.6.1.2.1.2.1.0");
After referencing the MIB, I can follow the path to interfaces, but I get
lost at 0 as there is no 0 on the MIB map.
Is there another map?
BEGIN
- - - - - - - -
Already did the CPAN search, found a bunch (including #1) that don't work at
all.
I'm looking for someone who has some experience with one.
Thanks though
-Phil
> > SNMP MIBs?
>
> http://search.cpan.org/search?query=SNMP&mode=all
>
> 1 and 5 look promising, I
> Does anyone have any good suggestions for modules that can be used to
parse
> SNMP MIBs?
>
http://search.cpan.org/search?query=SNMP&mode=all
1 and 5 look promising, I would start there
> I'd like to be able to read the MIB into a data structure, and then
look up
Does anyone have any good suggestions for modules that can be used to parse
SNMP MIBs?
I'd like to be able to read the MIB into a data structure, and then look up
OIDs, the types of values, etc.
Thanks
-Phil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Can I write a perl package file following to OOP concepts ,i.e create an
instance of the SNMP
$snmpInstance = new SNMP(arguments)
SNMPgetResult = $snmpInstance->snmpget(arguments)
Yes, this can be done.
See above for guides as to how to do this.
--
Chris Devers
--
To unsubscribe, e-mail: [
Hi Chris,
Thanks for guiding about the right style of perl coding & also for
resolving snmp session problem.
My system's snmpd was not enabled & SNMP5.0 was installed which was
giving the error as "Unknown Error Creating session"
I installed SNMP3.6 , started snmpd, h
On Tue, 7 Sep 2004, Geetha B wrote:
($session, $error) = Net::SNMP->session(
-hostname => shift || 'localhost',
-community => shift || 'public',
-port => shift || 161
);
It may be a dead end, but it may help to define these items as temp
vari
Hi ,
I'm using NET::SNMP perl package to send do SNMP operations.
This requires establishing snmp session.
upon calling create session , I'm getting error "ERROR: Unknown error
creating socket."
The code which gives the above
Hi all!
I'm some writing scripts using the module Net::SNMP.
Is this module a performant one, or are there faster ones available?
I tried the SNMP module that uses Net_SNMP, but the last version is from
2000 and I could get it installed...
Thanx!
Wim
--
To unsubscribe, e-mail: [
Hi Ian
I'm thinking about this one: I've used SNMP but not with Perl.
In the mean time, look here for a list of SNMP-related RFCs.
http://directory.google.com/Top/Computers/Internet/Protocols/SNMP/RFCs/
Rob
"Ian Zapczynski" <[EMAIL PROTECTED]> wrote in messa
Hello all,
I hope my question isn't too specific for this list. I'm still learning
the basic concepts of SNMP, but I need my current script to send an SNMP
trap to a host here upon failure. I am hoping to use Net::SNMP to do
so, but I think I'm unclear of the syntax due to my
I'm having problems compiling perl mod SNMP::Uitl, I get the following error
when I do a make test. Any help would be greatly appreciated.
gotgraphs# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e
Hello,
Does anyone knows how the translate-function works in Net::SNMP?
Cheers!
Wim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I have some Questions regarding SNMP::Multi.
Does someone have some more documentated Examples?
I need pairs of the $result->values and the corresponding $result->varlist
item;
For example:
myrouter.mynet.com: .1.3.6.1.2.1.2.2.1.5.5 = 1550
It would be perfect if I could g
At 11:30 23/05/2002 -0700, you wrote:
>On Thursday, May 23, 2002, at 11:17 , Mat Harris wrote:
>
>>SNMP::Utils
>
>
>Net::SNMP I am aware of -
> cf: http://search.cpan.org/search?mode=module&query=SNMP
>
>so this must be the version from freshmeat
On Thursday, May 23, 2002, at 11:17 , Mat Harris wrote:
> SNMP::Utils
Net::SNMP I am aware of -
cf: http://search.cpan.org/search?mode=module&query=SNMP
so this must be the version from freshmeat
but they do not have an easy to find 'README' file that expres
i have been trying to make a server info monitoring page using SNMP
modules. i came across SNMP::Utils but I am getting the following errors
after copying the tutorial pages _exactly_
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot
Hi,
I tried to change an ip route on a remote router but it is not working.
the ip route stuff is in read-write so it is possible with snmp set.
the program works to change syscontact and any example that I saw was to set
the syscontact(not really helpfull in the real life).
Any body with a
-ALL
I am actually new (couple of months) to Perl and find it difficult to edit
this example of a Net::Snmp script for snmpwalk. The desired result is to
have the script do a walk and print to either the console or log file. When
I run it I dont know why or if the script is actually running the
Hi all,
I've installed the ucd-snmp tools (ver. 4.2.4) on my RH7.0 box and am having problems
getting the Perl SNMP module installed. I've tried the one included with the ucd-snmp
distribution as well as downloading directly from CPAN and no joy.
I've tried the RTFM route
Tim,
Just an FYI.
Upgraded the Net::SNMP module to 4.0.1 from 3.6 and
everything works.
Regards
Ted
--- Tim Musson <[EMAIL PROTECTED]> wrote:
> Hey Ted,
>
> My MUA believes you used (X-Mailer not set)
> to write the following on Wednesday, April 24, 2002
> at 9:
ey Ted,
>
> My MUA believes you used (X-Mailer not set)
> to write the following on Wednesday, April 24, 2002
> at 9:56:09 PM.
> TH> Hello,
>
> TH> I'm executing the 1st example (get sysUpTime) in
> the
> TH> Net::SNMP module at
>
> TH>
>
http
Hey Ted,
My MUA believes you used (X-Mailer not set)
to write the following on Wednesday, April 24, 2002 at 9:56:09 PM.
TH> Hello,
TH> I'm executing the 1st example (get sysUpTime) in the
TH> Net::SNMP module at
TH> http://search.cpan.org/doc/DTOWN/Net-SNMP-4.0.1/lib/Net
Hello,
I'm executing the 1st example (get sysUpTime) in the
Net::SNMP module at
http://search.cpan.org/doc/DTOWN/Net-SNMP-4.0.1/lib/Net/SNMP.pm
The example is failing with the error
ERROR: Expected OBJECT IDENTIFIER in dotted notation
this is occurring because the $result is undefined.
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*>i've gotten to be somewhat comfortable using net::snmp. at the very least
*>i've used its get_request and set_request methods. however an oid used by
*>cisco seems to need to be called using 'snmpwalk' rather than a get
i've gotten to be somewhat comfortable using net::snmp. at the very least
i've used its get_request and set_request methods. however an oid used by
cisco seems to need to be called using 'snmpwalk' rather than a get or set
request. net::snmp has a get_next_request and
.
critical, warning, ..., it needs to send an snmp packet to another host.
Does anyone have any ideas on how I should go about starting this task? I've
looked around abit to see if I am reinventing the wheel, but it doesn't
appear so.
Thanks in advance!
--
Aaron M. Hirs
I have a peculiar problem coming up with a command i am issueing through
net::snmp
When I issue the following command using snmpset from a unix shell, the
remote host responds correctly:
snmpset -c private router .1.3.6.1.4.1.9.9.96.1.1.1.1.14.667 i 4
however, the same command issued through a
Hi All,
This is a perl related question. I am walking a mib and getting OCTETSTR
values. However, some of these are hex values that I am wanting to
convert into decimal. I know how to do the conversion no problem, but
some values return a string in ascii (e.g. "Module 1 port 6") while
other oid's
At 04:22 PM 8/6/2001 -0200, Hamish Whittal wrote:
>Hi all,
>
>I am using Joe Marzot's perl module 4.2.0. I am doing a walk of a
>variable that returns a hex value. Problem is, I have no idea the value
>will be hex, till I try to print it. 2 questions:
>
>1. I think I could find a hex value by test
Hi all,
I am using Joe Marzot's perl module 4.2.0. I am doing a walk of a
variable that returns a hex value. Problem is, I have no idea the value
will be hex, till I try to print it. 2 questions:
1. I think I could find a hex value by testing the returned value
against a regex. Yes/No
2. I want
Hi,
I try to get all the description from all interfaces of one router.
I think oid is ifdesc???
how do you read the answer from the get_table?
Thank you
Pierre
_
Get Your Private, Free E-mail from MSN Hotmail at http://ww
Hi there,
I use SNMP_util.pm which I got from CPAN. In there is function called
'snmpwalk'
which you must use.
HTH.
-K.
Christopher Wiedmaier wrote:
>
> I am attempting to use the following MIB .1.3.6.1.2.1.4.20.1.1 to retrieve
> IP addresses using the Net::SNMP module.
I am attempting to use the following MIB .1.3.6.1.2.1.4.20.1.1 to retrieve
IP addresses using the Net::SNMP module. In the code I have written I
concatenate the the host ip address to the MIB in order to return the ip
address. What I am expecting to return is the IP address that I passed in
Hi
Excuse my email, I do realise this might not be a beginner's question but I
thought I'd give it a shot.
I'm using Net::SNMP 3.6, I think this is the latest version.
My problem is that I need to use a value of type octetstringhex, but I can
not seem to find this type in the modu
73 matches
Mail list logo