Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Dec 14, 2017 12:11 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Graphing temperature sensors
PostPosted: Tue Aug 22, 2017 8:07 am 
Offline

Joined: Wed Jan 06, 2016 9:54 am
Posts: 3
After a few weeks of trying and then giving up, taking a few months off, and now trying again for a few days, I am having a devil of a time graphing a couple of temperature sensors. I've gone through the manuals a dozen different times, tried countless permutations of things, and have exhausted my considerable Google-fu.

I would think it's a simple thing, but I would be wrong. All I want to do is graph the data from the following OID map:

Code:
Oid Key                          Value                     Description                           Data Type    Access
1.3.6.1.2.1.1.1.0                STE2                      System Description                    string       RO
1.3.6.1.2.1.1.2.0                1.3.6.1.4.1.21796.4.9.    System ObjectID                       objid        RO
1.3.6.1.2.1.1.3.0                40573400                  System UpTime                         timeticks    RO
1.3.6.1.2.1.1.4.0                Yours Truly               System Contact                        string       RO
1.3.6.1.2.1.1.5.0                TEMP-SENSOR1              System Name                           string       RO
1.3.6.1.2.1.1.6.0                Cooling Room              System Location                       string       RO
1.3.6.1.2.1.1.7.0                72                        System Services                       integer      RO
1.3.6.1.4.1.21796.4.9.1.1.1.1    1                         1. Input Index                        integer      RO
1.3.6.1.4.1.21796.4.9.1.1.1.2    2                         2. Input Index                        integer      RO
1.3.6.1.4.1.21796.4.9.1.1.2.1    0                         1. Input Value, 0=Open, 1=Close       integer      RO
1.3.6.1.4.1.21796.4.9.1.1.2.2    0                         2. Input Value, 0=Open, 1=Close       integer      RO
1.3.6.1.4.1.21796.4.9.1.1.3.1    Input 1                   1. Input Name                         string       RO
1.3.6.1.4.1.21796.4.9.1.1.3.2    Input 2                   2. Input Name                         string       RO
1.3.6.1.4.1.21796.4.9.1.1.4.1    0                         1. Input State, 0=Normal, 1=Alarm     integer      RO
1.3.6.1.4.1.21796.4.9.1.1.4.2    0                         2. Input State, 0=Normal, 1=Alarm     integer      RO
1.3.6.1.4.1.21796.4.9.3.1.1.1    23264                     1. Sensor Index                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.1.2    58455                     2. Sensor Index                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.2.1    REFRIGERATOR              1. Sensor Name                        string       RO
1.3.6.1.4.1.21796.4.9.3.1.2.2    FREEZER                   2. Sensor Name                        string       RO
1.3.6.1.4.1.21796.4.9.3.1.3.1    5                         1. Sensor State                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.3.2    1                         2. Sensor State                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.4.1    46.5                      1. Sensor String Value                string       RO
1.3.6.1.4.1.21796.4.9.3.1.4.2    -2.7                      2. Sensor String Value                string       RO
1.3.6.1.4.1.21796.4.9.3.1.5.1    465                       1. Sensor Value                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.5.2    -27                       2. Sensor Value                       integer      RO
1.3.6.1.4.1.21796.4.9.3.1.6.1    0867530908675309          1. Sensor SN                          string       RO
1.3.6.1.4.1.21796.4.9.3.1.6.2    9035768090357680          2. Sensor SN                          string       RO
1.3.6.1.4.1.21796.4.9.3.1.7.1    2                         1. Sensor Unit, 1=C, 2=F, 3=K, 4=%    integer      RO
1.3.6.1.4.1.21796.4.9.3.1.7.2    2                         2. Sensor Unit, 1=C, 2=F, 3=K, 4=%    integer      RO
1.3.6.1.4.1.21796.4.9.3.1.8.1    23264                     1. Sensor ID                          integer      RO
1.3.6.1.4.1.21796.4.9.3.1.8.2    58455                     2. Sensor ID                          integer      RO
1.3.6.1.4.1.21796.4.9.70.1.0     00:DE:AD:BE:EF:00         System MAC address                    string       RO


In particular, I'm trying to specifically graph the values represented by the strings in 1.3.6.1.4.1.21796.4.9.3.1.4.1 and 1.3.6.1.4.1.21796.4.9.3.1.4.2. Alternatively, I'd be happy to graph the values in 1.3.6.1.4.1.21796.4.9.3.1.5.1 and 1.3.6.1.4.1.21796.4.9.3.1.5.2 if I can divide them by 10.

In either case, I am feeling completely clueless. Can somebody help me figure out or provide me with a step-by-step "how to" so I can accomplish my task, assuming I'm starting with a brand-spanking new Cacti installation?


Top
 Profile  
 
 Post subject: Re: Graphing temperature sensors
PostPosted: Sat Sep 23, 2017 3:05 pm 
Offline

Joined: Sat Sep 23, 2017 3:04 am
Posts: 2
I have a similar temperature sensing controller that I wish to monitor - were you able to compose a template?

Would be very interested on what you did. ;)

Thanks,

Joe


Top
 Profile  
 
 Post subject: Re: Graphing temperature sensors
PostPosted: Sun Sep 24, 2017 3:36 am 
Offline
Cacti User

Joined: Thu Oct 06, 2005 5:03 am
Posts: 395
If you have only one device, create a SNMP graph using the IOD you want.

_________________
cacti rulez!


Top
 Profile  
 
 Post subject: Re: Graphing temperature sensors
PostPosted: Sun Sep 24, 2017 9:33 pm 
Offline

Joined: Sat Sep 23, 2017 3:04 am
Posts: 2
Thanks, but I am looking to create a template so that we can monitor several devices of this type.

The devices have several ports (temperature, voltage, etc.) and I would like to select which port data to graph and have the graphs auto-scale, show a legend, etc. I would also like the option to select multiple ports to be graphed in one graph. ;)

The MIB is pretty straight forward, but I am a new at Cacti and existing templates I have looked at are intimidating... :(

Number of ports <n>: 1 through 128
Description of each port for graph legend: SNMPv2-SMI::enterprises.11476.5.1.1.2.<n> = STRING: "xxxx"
Value for port: SNMPv2-SMI::enterprises.11476.5.1.1.3.<n> = INTEGER: <value>

Any advice appreciated.

Thanks,

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group