Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
zan
byzan, June 17, 2013
I changed a few oids to make it work with juniper FW ssg550 version 6.2
my $oper_table = '1.3.6.1.4.1.3224.9.1.1.5.';
my $in_octet_table = '1.3.6.1.4.1.3224.9.3.1.3.';
my $out_octet_table = '1.3.6.1.4.1.3224.9.3.1.5.';
also had to change the status to be 0 for Down
my %status=('UP'=>1,'DOWN'=>0,'TESTING'=>3,'UNKNOWN'=>4,'DORMANT'=>5,'NotPresent'=>6,'lowerLayerDown'=>7);
my %status_print=(1=>'UP',0=>'DOWN',3=>'TESTING',4=>'UNKNOWN',5=>'DORMANT',6=>'NotPresent',7=>'lowerLayerDown');
And finally the check command is for exmaple (i use another OID for the description table thats why the -n switch ):
./check_netint.pl -H xxx.xxx.xxx.xxx -C public -2 -N 1.3.6.1.4.1.3224.9.1.1.2 -n ethernet0/2.20 -k -B -M -Y -w10,10 -c 20,20
Great work willix! thanks!
my $oper_table = '1.3.6.1.4.1.3224.9.1.1.5.';
my $in_octet_table = '1.3.6.1.4.1.3224.9.3.1.3.';
my $out_octet_table = '1.3.6.1.4.1.3224.9.3.1.5.';
also had to change the status to be 0 for Down
my %status=('UP'=>1,'DOWN'=>0,'TESTING'=>3,'UNKNOWN'=>4,'DORMANT'=>5,'NotPresent'=>6,'lowerLayerDown'=>7);
my %status_print=(1=>'UP',0=>'DOWN',3=>'TESTING',4=>'UNKNOWN',5=>'DORMANT',6=>'NotPresent',7=>'lowerLayerDown');
And finally the check command is for exmaple (i use another OID for the description table thats why the -n switch ):
./check_netint.pl -H xxx.xxx.xxx.xxx -C public -2 -N 1.3.6.1.4.1.3224.9.1.1.2 -n ethernet0/2.20 -k -B -M -Y -w10,10 -c 20,20
Great work willix! thanks!
Owner's reply
I'll add new --juniper option with above OIDs and settings. Thank you.