dipe has asked for the wisdom of the Perl Monks concerning the following question:

Hi ! I am writing a perl script where the user can probe as many snmp interfaces he likes to obtain their in & out octet values. I am able to send snmp get requests & obtain the in & out octet values...i am using RRD::Simple to update these values into rrd file.. But, I am not getting the traffic for all the interfaces... There is traffic flowing those interfaces in real. Today is my first time in perl monks, so, I cudnt post my code.. I can send my code through e-mail...I am still reading the writing tips on how to write a question properly. Please help

Replies are listed 'Best First'.
Re: RRD::SIMPLE UPDATE
by NetWallah (Canon) on Dec 17, 2015 at 19:07 UTC
    Welcome to PerlMonks!

    My first thought on this is - are you re-inventing wheels ?

    Please check out the free Cacti which collects, displays, slices and dices.

    The next issue is with how you obtain SNMP data from the devices. Presumably, you use Net::SNMP, and the methods get-request() get-next-request or get-bulk-request, in either blocking, or non-blocking mode.

    There is a possibility that the returned SMTP info exceeds maxMsgSize , so you see only the first n ports. Net::SNMP has mechanics like -startindex, that lets you retrieve info incrementally.

    Show us some code so we can see yout your issue may be. To post code here, simply use the textbox, and enclose the code in <code> your code </code> tags.

            "I can cast out either one of your demons, but not both of them." -- the XORcist