First let me start with an apology. I'm sorry for the lack of information here, but I am COMPLETELY NEW to anything SNMP.

I have a simple little program that forks off a number of childred (20) to ping network hosts. It's pretty slick and efficient. It was originally written for a small group here in my office when they need to check the connectivity of our clients routers.

Appearently it is a little to nice, I have now been asked to SNMP enable it. We currently use a monitoring program (Netcool) to watch certain devices. The higher up-s in my company have heard of my ping program and now i have to send SNMP traps to the monitoring software when a destination dosen't respond for 'X' pings.

I like this idea and I am very eager to do it, only one problem, I KNOW NOTHING ABOUT SNMP. I have searched the web and am gaining an understanding, but I am on a tight timeline. I was hoping that someone could tell me how to send an SNMP trap from an application using NET::SNMP or point me to somewhere where I can figure it out. Quite frankly the doc on CPAN didn't clear anything up for me.

Also, I think I have a slight handle on creating the MIB, but some clarification on those or links would be greatly appreciated.

Thanks, Chad.


In reply to NET::SNMP ?????? by gnu@perl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.