Results 1 to 5 of 5

Thread: SNMPCOMMUNITY Variable

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    1

    SNMPCOMMUNITY Variable

    Hello,

    Just installed Shinken 1.2.4 to monitor 150 hosts / 1500 services (migrated from Nagios ofc). I've a problem when using snmp to check hosts with a custom SNMP community (Got 2 crappy printers with no possibility to change SNMP community). Useally hosts use the community in ressources.cfg defined in the variable $SNMPCOMMUNITYREAD$. So i followed the wiki and I added _SNMPCOMMUNITY with the default community of my printers in each host definition (for both printers) and it doesn't work

    I tried:

    _SNMPCOMMUNITY public
    _SNMPCOMMUNITY_ public
    $_SNMPCOMMUNITY_$ public
    $_SNMPCOMMUNITYREAD_$ public
    _SNMPCOMMUNITYREAD public
    _SNMPCOMMUNITYREAD_ public

    Nothing work

    Any idea ?

    It leads me to a interestting idea for shinken-arbiter daemon config check: Do you think you could add an option to read configuration and develop all options. I mean when an option is unspecified it use the definied by the father definition, with this option all child definition has the whole conifuguration option set so it's easier to debug variables.

    PS: Les réponses en français sont tolérées

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: SNMPCOMMUNITY Variable

    It depends on your check commands. Give it us.

    for the father, if I can understnad, there is already inheritance from templates.

    PS2: nop sorry, no french-only posts here. If you want to talk only Fr, please switch to the http://forums.monitoring-fr.org/ forum instead
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    May 2013
    Posts
    12

    Re: SNMPCOMMUNITY Variable

    I'm using the default gendevconfig+snmpbooster settings.
    Where can I define the community per device ?

    Please help

  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: SNMPCOMMUNITY Variable

    Outch I don't know about snmpbooster, plase wait until xkilian can help you
    No direct support by personal message. Please open a thread so everyone can see the solution

  5. #5
    Junior Member
    Join Date
    May 2013
    Posts
    12

    Re: SNMPCOMMUNITY Variable

    Thanks ;D

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •