I was unable to use the snmp.pl script on my Redhat 7.3 box until I changed the command in the script. I hope this can help others using Redhat.
#!/usr/bin/perl
$ret = `snmpget -Ovq -Cf $ARGV[0] $ARGV[1] $ARGV[2]`;
chomp $ret;
print $ret;
This returns a nice single unmber for me when I am looking at any of my cisco gear, for things like cpu utilization and the such. Not sure if this is the most efficient way to do things but I thought it might save some people some time.
Kevin
Some SNMP tips on RedHat 7.3
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 2 guests