Skip to content

Commit

Permalink
Merge pull request #25 from waja/bug/fix_snmp_tmp_file
Browse files Browse the repository at this point in the history
Fix check_snmp_int.pl temp file name
  • Loading branch information
dnsmichi authored Feb 9, 2017
2 parents e8fb7a2 + 628a53f commit 14449da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/check_snmp_int.pl
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ sub check_options {
if (defined($o_checkperf) && $int_status == 1) {
$temp_file_name = $descr[$i];
$temp_file_name =~ s/[ ;\/]/_/g;
$temp_file_name = $o_base_dir . $o_host . "." . $temp_file_name;
$temp_file_name = $o_base_dir . $o_host . "." . $o_port . "." . $temp_file_name;

# First, read entire file
my @ret_array = read_file($temp_file_name, $n_items_check);
Expand Down

0 comments on commit 14449da

Please sign in to comment.