Ad Widget

Collapse

SNMP different value for different servers servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gugusg
    Junior Member
    • Jun 2008
    • 11

    #1

    SNMP different value for different servers servers

    Hello,

    I'm trying to monitore the value of temperature on different dell servers.

    with snmp, i have string like theses :

    <snmpstring>.5.1.1 : value of item 1
    <snmpstring>.5.1.2 : value of item 2
    <snmpstring>.5.1.3 : value of item 3

    <snmpstring>.8.1.1 : name of item 1
    <snmpstring>.8.1.2 : name of item 2
    <snmpstring>.8.1.3 : name of item 3

    and on each servers, the snmp name are differents like this :

    Server 1 :
    <snmpstring>.5.1.1 : 540
    <snmpstring>.5.1.2 : 550
    <snmpstring>.5.1.3 : 220

    <snmpstring>.8.1.1 : CPU 1
    <snmpstring>.8.1.2 : CPU 2
    <snmpstring>.8.1.3 : Ambiant

    Server 2 :
    <snmpstring>.5.1.1 : 220
    <snmpstring>.5.1.2 : 550
    <snmpstring>.5.1.3 : 570

    <snmpstring>.8.1.1 : Ambiant
    <snmpstring>.8.1.2 : CPU 1
    <snmpstring>.8.1.3 : CPU 2


    Of course this is only an exemple ... but how could i make items with these kinds of stuff without doing it manually for each server ? because i cant make any graphs / triggers ...

    Thx a lot.
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Why not create a Template with these items? Then apply the template to your hosts (Server 1 and Server 2).


    <snmpstring>.5.1.1 : value of item 1
    <snmpstring>.5.1.2 : value of item 2
    <snmpstring>.5.1.3 : value of item 3

    <snmpstring>.8.1.1 : name of item 1
    <snmpstring>.8.1.2 : name of item 2
    <snmpstring>.8.1.3 : name of item 3


    In Latest Values you'll see the values as they apply to each host. So you can see on Server 1 that CPU 1 is Port 1, and on Server 2 that CPU 1 is Port 2.

    Server 1 :
    <snmpstring>.5.1.1 : 540
    <snmpstring>.5.1.2 : 550
    <snmpstring>.5.1.3 : 220

    <snmpstring>.8.1.1 : CPU 1
    <snmpstring>.8.1.2 : CPU 2
    <snmpstring>.8.1.3 : Ambiant

    Server 2 :
    <snmpstring>.5.1.1 : 220
    <snmpstring>.5.1.2 : 550
    <snmpstring>.5.1.3 : 570

    <snmpstring>.8.1.1 : Ambiant
    <snmpstring>.8.1.2 : CPU 1
    <snmpstring>.8.1.3 : CPU 2


    As for applying the correct names or descriptions in the Templates graphs, then maybe this post may hold some hope for the not too distant future.



    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • gugusg
      Junior Member
      • Jun 2008
      • 11

      #3
      yes, thats what i made, but for the trigger and the graphs i am obliged to make it differently for each servers because the conditions are not the same

      thank you for the post, i will read it ;-) macros in name with the value of another item could be very usefull in this case :-)

      Comment

      Working...