|
|
| Author |
Message |
mjjzr
Joined: 10 Oct 2005 Posts: 8
|
Posted: Tue Feb 14, 2006 2:31 am Post subject: |
|
|
Hi adumont
Thanks for your work, that's save me a lot of time.
I've imported to a 0.86h and looks ok.
|
|
| Back to top |
|
 |
eyechart
Joined: 25 Apr 2002 Posts: 49
|
Posted: Fri Mar 31, 2006 1:26 am Post subject: problem with 5 minute load average on linux |
|
|
the 5min load average seems messed up. It doesn't use SNMP, instead it uses the perl script. Since I am monitoring remote linux/unix systems from a windows box, this doesn't seem to work.
Can the templates be altered so that the 5min average uses SNMP? thanks.
-ec
|
|
| Back to top |
|
 |
adumont
Joined: 26 Nov 2005 Posts: 16 Location: Spain
|
Posted: Fri Mar 31, 2006 8:24 am Post subject: |
|
|
For HP-UX template, I use the following DS:
hpux_AvgJobs5: Get SNMP Data
OID=.1.3.6.1.4.1.11.2.3.1.1.4.0
For Sun and Linux templates, I use the following DS:
ucd/net - Load Average - 5 Minute: Get SNMP Data
OID=.1.3.6.1.4.1.2021.10.1.3.2
Both DS are of type SNMP Data.
You may be refering to "Unix - Load Average" DS, but I don't use it in my Hosts Templates.
|
|
| Back to top |
|
 |
eyechart
Joined: 25 Apr 2002 Posts: 49
|
Posted: Fri Mar 31, 2006 1:04 pm Post subject: |
|
|
I don't see that OID specified in the latest XML for linux. can you double check this?
I see the OIDs for 1 minuted and 15 minute, just not 5 minute.
-ec
|
|
| Back to top |
|
 |
adumont
Joined: 26 Nov 2005 Posts: 16 Location: Spain
|
Posted: Sat Apr 01, 2006 6:15 am Post subject: |
|
|
@ec: You are right.
However, I don't know where is the problem. In my cacti installation the Graph Template "ucd 01 load average" is correctly defined (using DS load_5min).
When I export the full Linux host template , and I import it again in another "empty" Cacti installation, I loose the load_5min DS, and the GT is no correctly defined. I also loose the data query attached to the Host Template (the DQ are imported, but in the HT definition no DQ appear)!
I don't know where the problem is. Is it in the export process? The import process? Maybe it is also in my installation Linux.
I can share my Full cacti DB dump if someone wants to try exporting and importing the templates again, to see if the problem is reproduced.
Importing the full DB shows that the Host Template is correctly defined. (But it's not an easy way to share the templates between people).
|
|
| Back to top |
|
 |
adumont
Joined: 26 Nov 2005 Posts: 16 Location: Spain
|
Posted: Sun Apr 02, 2006 6:42 am Post subject: Cacti host templates for Unix v1.3 |
|
|
I've released a new version my Cacti host templates for Unix systems (HP-UX, Solaris and Linux).
This new version introduces the following changes:
* ucd Load Average GT seemed messed up (load5min missing, reported by eyechart). I think it is solved now.
* New Uptime GT (all OS, contributed by Mikf http://forums.cacti.net/viewtopic.php?t=5951)
WARNING: Import each Host Template twice!!
It seems that sometimes the templates are not correctly imported after the first import (associated grath templates and/or data queries are missing). Importing the templates *once again* seems to solve the problem (at least in cacti 0.8.6g).
Feel free to download version 1.3 of the Unix Template Set for Cacti, and use and/or redistribute it under the terms of the GPL license.
You may also check this link and leave a comment there if you use and like these templates:
http://adumont.hopto.org/~adumont/blog/tag/cacti .
For ec: Thanks for reporting the problem with load5min. I hope it is solved in this release. At least in my instalation it seems to be fine. Anyway, have a look at the warning.
| Description: |
| Cacti host templates for Unix v1.3. |
|
 Download |
| Filename: |
cacti_templates-1.3.tar.gz |
| Filesize: |
60.85 KB |
| Downloaded: |
3735 Time(s) |
|
|
| Back to top |
|
 |
eyechart
Joined: 25 Apr 2002 Posts: 49
|
Posted: Sun Apr 02, 2006 10:46 am Post subject: |
|
|
ok, the 1.3 release fixed the load average graphs. I had to delete the current graphs and RRAs that I had and create new ones based off of the new template for it to work though.
I like the uptime graph too, nice addition.
Thanks for fixing this. This is really a great set of graphs.
-ec
|
|
| Back to top |
|
 |
laffen Cacti User
Joined: 13 Jul 2004 Posts: 52 Location: Norway
|
Posted: Mon Apr 03, 2006 5:03 am Post subject: |
|
|
| Have these templates been tested with 0.8.6h?
|
|
| Back to top |
|
 |
eyechart
Joined: 25 Apr 2002 Posts: 49
|
Posted: Mon Apr 03, 2006 10:40 am Post subject: |
|
|
I am running on .86h and 1.3 fixed the only problems I was having.
-ec
|
|
| Back to top |
|
 |
Antoine Musso
Joined: 12 Dec 2005 Posts: 12
|
Posted: Fri May 26, 2006 8:34 am Post subject: |
|
|
| Can you please edit your first post so it get the lastest version ? :o) Thanks!
|
|
| Back to top |
|
 |
wintech2003
Joined: 17 May 2005 Posts: 12
|
|
| Back to top |
|
 |
adumont
Joined: 26 Nov 2005 Posts: 16 Location: Spain
|
Posted: Thu Jun 15, 2006 11:52 pm Post subject: |
|
|
Hi,
When the graph show "1M" of unit KB (not B), this means: 1 million (or 1024x1024) KB, that is 1GB, not 1MB.
Regards,
Alex
|
|
| Back to top |
|
 |
wintech2003
Joined: 17 May 2005 Posts: 12
|
Posted: Fri Jun 16, 2006 4:58 am Post subject: |
|
|
lol you're right I didn't noticed it.
Is there a way to make it report bytes instead of kilobytes so that it says GB?
|
|
| Back to top |
|
 |
guidob
Joined: 16 Jun 2006 Posts: 1
|
Posted: Fri Jun 16, 2006 6:40 am Post subject: |
|
|
| I have exactly the same problem. Running on CentOS, Slackware, RedHat, SuSe & Fedora.
|
|
| Back to top |
|
 |
lrhazi
Joined: 26 Jun 2006 Posts: 4
|
Posted: Thu Jul 06, 2006 3:44 pm Post subject: |
|
|
Any idea why my lan usage graphs never show any data?
I installed and used the above templates for several servers and added most of the defined graphs... added graphs for lan, selected eth0 1 and 2 from the discovered interfaces... but no data ever shows up....
all the pther graphs, mem usage, cpu disk usage... work fine.
How do I debug this? If this is not related to these specific templates, please move this post whereeve it belongs.
Thanks a lot.
Mohamed~
|
|
| Back to top |
|
 |
|