UNIX Template Set for Cacti: HP-UX, Solaris, Linux
Moderators: Developers, Moderators
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
Can the templates be altered so that the 5min average uses SNMP? thanks.
-ec
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.
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.
@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).
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).
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.
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.
- Attachments
-
- cacti_templates-1.3.tar.gz
- Cacti host templates for Unix v1.3.
- (60.85 KiB) Downloaded 9208 times
-
- Posts: 12
- Joined: Mon Dec 12, 2005 10:56 am
-
- Posts: 12
- Joined: Tue May 17, 2005 5:29 am
I have a problem with:
ucd 10 Memory
ucd 11 Swap
ucd 12 Detailled Memory
which all report in Mbytes instead of Gbytes...
So on all my Linux servers my graphs say I have Total RAM 1MB or 2MB although it should say 1 or 2 GB.
Check screenshot:
This happens on all my servers (others have Slackware, others CentOS).
Can you help me fix this?
ucd 10 Memory
ucd 11 Swap
ucd 12 Detailled Memory
which all report in Mbytes instead of Gbytes...
So on all my Linux servers my graphs say I have Total RAM 1MB or 2MB although it should say 1 or 2 GB.
Check screenshot:
This happens on all my servers (others have Slackware, others CentOS).
Can you help me fix this?
- Attachments
-
- totalmem.PNG (15.99 KiB) Viewed 31800 times
-
- Posts: 12
- Joined: Tue May 17, 2005 5:29 am
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~
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~
Who is online
Users browsing this forum: No registered users and 1 guest