in reply to Re: Return from a subroutine generates a negative value
in thread Return from a subroutine generates a negative value
To plug in some values for the hashes I use (both are declared outside of the for loops), I'm adding this:
my %nodes = ( 'host1' => { 'hardware' => 'servers', 'community' => "$serverCommunity", }, 'host2' => { 'hardware' => 'servers', 'community' => "$serverCommunity", }, ); my %rrd = ( 'real_trend' => { 'free' => $memAvailReal, 'desc' => 'Physical Memory', }, 'swap_trend' => { 'free' => $memAvailSwap, 'desc' => 'Swap Memory', }, );
I just don't think these values matter that much since their order seems unimportant.
I somehow think the issue may be in the snmp session somehow however I have no clue as to why.
Thanks very much for your time on this -c
|
---|