Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Hacking modules and doing snmp scans.......

by Kevin_Raymer
on Dec 04, 2007 at 16:57 UTC ( #654862=perlquestion: print w/ replies, xml ) Need Help??
Kevin_Raymer has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks!

Well it seems as if I have gained over 200 exp points so I think people are starting to come around to my way of computer hacking.

I am trying to use snmp for those who don't know:

The Simple Network Management Protocol (SNMP) forms part of the internet protocol suite as defined by the Internet Engineering Task Force (IETF). SNMP is used in network management systems to monitor network-attached devices for conditions that warrant administrative attention. It consists of a set of standards for network management, including an Application Layer protocol, a database schema, and a set of data objects. SNMP exposes management data in the form of variables on the managed systems, which describe the system configuration. These variables can then be queried (and sometimes set) by managing applications.

I guess there are no modules to help with my CODE because I did a find on cpan and got this

Warning: Cannot install find, don't know what it is. Try the command i /find/ to find objects with matching identifiers. Warning: Cannot install snmp, don't know what it is. Try the command i /snmp/

So it looks like I will have to hack my own module. Has anyone out there hacked a module before?

***In case you don't know a module is a plug in that helps your code run faster.

Kevin Raymer
Senior Programmer
23 years Experience.

Comment on Hacking modules and doing snmp scans.......
Download Code
Re: Hacking modules and doing snmp scans.......
by sgifford (Prior) on Dec 04, 2007 at 17:10 UTC

      /me belatedly hangs up a "Please don't feed the trolls." sign.

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.

        The cake is a lie.

        Been playing too much Portal lately?

        I was so happy when I saw the title of the post. My life for the past three years has revolved around the vagaries of SNMP and I've just started writing a distro destined for CPAN to make complex SNMP stuff *simple*

        The question looked like one of a newbie, but I read on, desiring to at least be of assistance.

        And my heart just sank when I saw...

        Senior Programmer
        23 years Experience.
Re: Hacking modules and doing snmp scans.......
by mrpeabody (Friar) on Dec 04, 2007 at 22:38 UTC
Re: Hacking modules and doing snmp scans.......
by johngg (Abbot) on Dec 05, 2007 at 00:02 UTC
    You need to update your home node. It's underselling you as it only advertises 22 years experience. Thought you might like to know.

    Cheers,

    JohnGG

Re: Hacking modules and doing snmp scans.......
by aufflick (Deacon) on Dec 05, 2007 at 03:38 UTC
    It's always April 1st somewhere.
Re: Hacking modules and doing snmp scans.......
by aufflick (Deacon) on Dec 05, 2007 at 03:45 UTC
    I've never seen "requires penance" as an experience level before - cute :)
Re: Hacking modules and doing snmp scans.......
by aquarium (Curate) on Dec 05, 2007 at 04:29 UTC
    all i can say is, never take your years of experience and flash it around like it means something. This post exemplifies the fact that some people learn quicker than others. all that really counts is that you can cut the mustard when you have to
    Aquarium 10000+ years combined perlmonks and work colleagues experience
    the hardest line to type correctly is: stty erase ^H
Re: Hacking modules and doing snmp scans.......
by lowphive (Monk) on Dec 05, 2007 at 09:40 UTC
    Kevin Raymer reminds me of Kevin Bacon, and probably just about every perlmonk knows about Kevin Raymer, which reminds me of a game.
Re: Hacking modules and doing snmp scans.......
by m.att (Pilgrim) on Dec 05, 2007 at 10:49 UTC
    (Kevin Raymer)++

    Very funny stuff! Keep it coming!
Re: Hacking modules and doing snmp scans.......
by Anonymous Monk on Dec 05, 2007 at 13:21 UTC
    Check out the last line????

    "***In case you don't know a module is a plug in that helps your code run faster."

    Um NO that isn't what a module is...gawd!!!
Re: Hacking modules and doing snmp scans.......
by gregor42 (Parson) on Dec 05, 2007 at 15:28 UTC
    <troll_food>

    ...so I think people are starting to come around to my way of computer hacking.

    Methinks you have confused the terms hacking(verb) and hack(noun)

    Hacking in the 1960s and 1970s was used to describe an individual working with computers who was technically gifted. Many people in the industry still adhere to this definition, though it is not what is generally meant when used in the media or by those outside of the industry.

    Hack describes an unskilled person or one who lacks technical acumen. It can also be used to describe a particularly ugly piece of code meant to be used as a temporary measure.

    I realize that they're very similar, so it's an easy mistake to make.

    Unless of course, you are using the newfangled definition of hacking which refers to computer related crime - in which case is this some kind of admission of guilt?

    </troll_food>



    Wait! This isn't a Parachute, this is a Backpack!
Re: Hacking modules and doing snmp scans.......
by hangon (Deacon) on Dec 05, 2007 at 16:23 UTC

    For those who have not caught on, Kevin_Raymer is one of our pet trolls. He shows up every now and then just to amuse us. My guess is that *hacking* is just his day job, but he really dreams of making it big as a comedian.

      stick with the day job then
      the hardest line to type correctly is: stty erase ^H
Re: Hacking modules and doing snmp scans.......
by Argel (Prior) on Dec 05, 2007 at 21:08 UTC
    Regarding the Consideration, I know that not everyone finds his posts humorous but some Monks do. And for that reason I think reaping the node or replacing the title both go overboard. I think a better suggestion for consideration would have been to prepend the title with "(Humor/Troll)".

    Personally, I'd rather have Kevin_Raymer show up from time to time with mildly amusing posts like this than have Cop return (e.g. see Re: Perl is dead).

      I personally think "unintended humor" would do it. He seems harmless enough.
Re: Hacking modules and doing snmp scans.......
by laceytech (Pilgrim) on Dec 06, 2007 at 07:10 UTC
    Kevin, Look at the modules used with MRTG
    They are documented and is an easy place to get started

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://654862]
Front-paged by JSchmitz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-09-16 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (158 votes), past polls