Menu

#134 check_snmp_cpfw.pl wrongly handle RRD

v2.2
open-accepted
nobody
5
2011-12-12
2011-12-07
No

I fixed it this way :

--- check_snmp_cpfw.pl.orig 2011-09-02 19:07:36.000000000 +0200
+++ check_snmp_cpfw.pl 2011-10-19 17:08:57.000000000 +0200
@@ -26,7 +26,7 @@
# Oreon specific

if (eval "require centreon" ) {
- use centreon qw(get_parameters create_rrd update_rrd &is_valid_serviceid);
+ use centreon qw(get_parameters);
use vars qw($VERSION %centreon);
%centreon=get_parameters();
} else {
@@ -238,7 +238,7 @@
###### centreon #######

if (!defined($o_S)) { $o_S="1_1" }
- $ServiceId = is_valid_serviceid($o_S);
+# $ServiceId = is_valid_serviceid($o_S);

if (!defined($o_step)) { $o_step="300" }
$step = $1 if ($o_step =~ /(\d+)/);

Discussion

  • Jérôme Benoit

    Jérôme Benoit - 2011-12-07
    • milestone: --> v2.2
     
  • Olivier LI-KIANG-CHEONG

    • status: open --> open-accepted
     
  • Olivier LI-KIANG-CHEONG

    bug submitted to Centreon community : http://forge.centreon.com/issues/2966

     

Log in to post a comment.