henticated via
the acl. He doesn't need a password.
Net::SNMP gives an error message that password must be specified while
snmpget works without one.
What's behind that, and why didn't the acl apply to requests made with
snmpget? (Maybe it applies to the given user only when a pas
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
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
Hello All,
I have a rather strange problem.
I am doing the following:
1 $result = $session->set_request (
2 -varbindlist => [ "${secPvcBulkModeOid}.${nextVcatIndex}" ,
INTEGER, "1",
3 "${secPvcActionTypeOid}.${nextVcatIndex}" ,
INTEGER, "$actionType",
4
Hello All,
I have a rather strange problem.
I am doing the following:
1 $result = $session->set_request (
2 -varbindlist => [ "${secPvcBulkModeOid}.${nextVcatIndex}" ,
INTEGER, "1",
3"${secPvcActionTypeOid}.${nextVcatIndex}" ,
INTEGER, "$actionType",
4
On Wed, 8 Sep 2004, Geetha B wrote:
But I want to write this as a package/interface file .
Please could you guide/direct me to writing a simple/sample perl
package (sample.pm) & then testing it.
Sorry, I'm afraid I can't do that.
This list exists to help people get past the obstacles of learning
)
SNMPgetResult = $snmpInstance->snmpget(arguments)
Please do guide
Thanks,
Geetha
On Tue, 2004-09-07 at 19:50, Chris Devers wrote:
> On Tue, 7 Sep 2004, Geetha B wrote:
>
> > ($session, $error) = Net::SNMP->session(
> > -hostname => shift || 'loc
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: [
ge
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
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
-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
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
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,
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
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
34 matches
Mail list logo