Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Cisco Neighbors

by fingers (Acolyte)
on May 16, 2001 at 21:56 UTC ( #80992=note: print w/replies, xml ) Need Help??


in reply to (code) Cisco Neighbors

I put together a similar script that works using SNMP and automatically polls the IPs it gets back from the SNMP queries.

Thanks for giving me the idea to write it, and answering questions for me.

cdppoll.pl

Replies are listed 'Best First'.
Re^2: Cisco Neighbors
by ArifS (Sexton) on Sep 22, 2014 at 18:57 UTC
    I am getting the following error.

    181: $seen{$item}; # parse $file{in} into a hash
    Useless use of hash element in void context at c:\temp\dir39FB.tmp\cdp poll1.pl line 181.

    67: Usage() unless ((@ARGV) or (-s $file{in} && -T_));
    Undefined subroutine &main::Usage called at c:\temp\dir39FB.tmp\cdp poll1.pl lin e 67.
    Press any key to continue . . .
    Any suggestion?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://80992]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2016-12-06 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.