|
|
| Author |
Message |
jvanhambelgium
Joined: 10 Jan 2003 Posts: 33 Location: Antwerpen (Belgium)
|
Posted: Wed May 21, 2003 1:28 pm Post subject: RRD with multiple DS-items and SNMP OID's |
|
|
Hi,
I'm playing with 0.8 (pre-20030508) on FreeBSD and wonder how I should do following , IF possible offcourse ;
- I have 3 SNMP OID's
.1.3.6.1.4.1.529.26.1.4.1.8.8.43.45.51.51.51.52.48.48
.1.3.6.1.4.1.529.26.1.4.1.8.8.42.41.51.51.51.52.48.48
.1.3.6.1.4.1.529.26.1.4.1.8.8.41.49.51.51.51.52.48.48
I've created a new DATA Template and added multiple "DS" entries, in my hopes to accomodate the integer values returned from these queries.
However, I can only put 1 SNMP OID, altough I can create multiple DS
Why is that.
Yes, I could offcourse make 1 RRD per SNMP per device, but I was hoping I could "group" some SNMP OID's together and have them work and put the data in the RRD
I've taken a look at "Data Queries" but the problem is my SNMP OID's are not "walkeable", no indexed. I need this,that and that specific OID.
I've tried to edit the XML file but that does not seem to work...
Any clues if this is possible ?
Regards,
Jan
|
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Tue May 27, 2003 12:37 am Post subject: |
|
|
I have ran into similar situations as well, but have concluded each time that keeping one OID per data template keeps cacti's data model consistant.
The purpose of a data template is the abstract values common to some piece of retrievable data. Even though it may seem a little redundant at times, each OID represents a separate value and therefore should have its own fields.
Aside from my reasoning, this is definitely possible. You would probably end up having to create your own snmpget script though and it would have to expect or be fed the number of OIDs to process.
Like you noticed, data queries are not what you want for this task. My recommendation is to create a data template for each OID.
-Ian
|
|
| Back to top |
|
 |
stelaras1 Cacti User
Joined: 03 Nov 2004 Posts: 57
|
Posted: Mon Jan 24, 2005 9:34 am Post subject: |
|
|
| This means that if you create a rrd file with 2 DS you cannot assign a different OID's for each DS?
|
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Tue Jan 25, 2005 1:16 am Post subject: |
|
|
| stelaras1 wrote: | | This means that if you create a rrd file with 2 DS you cannot assign a different OID's for each DS? |
Not in the current version. You must create two separate data sources and assign an OID to each. However, since this thread was originally created, I have added support for using multiple OID's in the same data source in the next major release of Cacti.
I attached a screenshot of what this functionality will look like.
-Ian
| Description: |
| Multiple OID's per data template in 0.8.7-dev. |
|
| Filesize: |
143.77 KB |
| Viewed: |
5194 Time(s) |

|
|
|
| Back to top |
|
 |
stelaras1 Cacti User
Joined: 03 Nov 2004 Posts: 57
|
Posted: Tue Jan 25, 2005 2:22 am Post subject: |
|
|
thanx raX
i believe that's a useful option
|
|
| Back to top |
|
 |
gondo
Joined: 19 Oct 2004 Posts: 25 Location: Oxford, OH
|
Posted: Fri May 20, 2005 8:26 am Post subject: |
|
|
Nice!
[rra]$ ls | wc -w
4795
gondo
|
|
| Back to top |
|
 |
predou
Joined: 07 Jan 2005 Posts: 45
|
Posted: Wed May 25, 2005 2:37 am Post subject: |
|
|
| When will be implemented in official version ? :p
|
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5453 Location: Wisconsin, USA
|
Posted: Wed May 25, 2005 7:53 am Post subject: |
|
|
...
He said, it will be in the next major release. 0.9
Which is planed to be released at the end of the summer.
|
|
| Back to top |
|
 |
|