Help for this page

Select Code to Download


  1. or download this
        $session1->expect(30, '-re', qr'^0000:.*\r\n');
        my $tmpvar = $session1->match();
    ...
            &snmp_conf_cleanup();
            &clean_up_and_exit($session,"FAIL",$mesg,"did not receive any 
    +v2 notifications");
        }
    
  2. or download this
    $session1->expect(30, '-re', qr'REGEX HERE');