Menu

#121 check_snmp definition wrong

v2.0
closed-fixed
Centreon (48)
5
2011-10-17
2011-07-14
No

Hi,

I installed FAN from the version that was live around 20-22 Feb 2011 - hopefully that gives a clue as to what version of FAN I am using, I can't see an easy way to find out..

This "bug" is an incorrect definition of a check command, making it not work. The check is:

check_snmp in /etc/nagios/checkcommands.cfg is defined as:

$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -C $ARG3$

the third command line argument should be lowercase c:

$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG3$

Unsure where this comes from (Initial Nagios config / Centreon Template).

The uppercase C means something different to the check. (The help for the check suggests the third argument should be the "critical range" which is the lowercase c)

Discussion

  • Olivier LI-KIANG-CHEONG

    Hi,
    thanks for you feedback. I fix this bug in FAN 2.2. But, i add the community in command :
    $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG3$ -C $USER2$

     
  • Olivier LI-KIANG-CHEONG

    • labels: --> Centreon
    • milestone: --> v2.0
    • assigned_to: nobody --> lkco
    • status: open --> open-accepted
     
  • Olivier LI-KIANG-CHEONG

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

    fixed in fan 2.2

     
  • Olivier LI-KIANG-CHEONG

    • status: open-fixed --> closed-fixed
     
  • Olivier LI-KIANG-CHEONG

    Closed in FAN 2.2

     

Log in to post a comment.