UNIX Template Set for Cacti: HP-UX, Solaris, Linux
Moderators: Developers, Moderators
hello
i have found new probleme in the data queries option :
the screen u can see this problem
cacti 0.8.6j
please how to fix this prbleme please
i have found new probleme in the data queries option :
the screen u can see this problem
i a m on red hat 4esWarning: is_file(): Stat failed for /var/www/html/cacti/resource/snmp_queries/hpux_fs.xml (errno=13 - Permission denied) in /var/www/html/cacti/data_queries.php on line 573
Could not locate XML file.
cacti 0.8.6j
please how to fix this prbleme please
- Attachments
-
- 00.jpg (65.55 KiB) Viewed 17758 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
thanks for u help[root@localhost snmp_queries]# clear
[root@localhost snmp_queries]# ls -l
total 68
-rw-r--r-- 1 1000 users 1373 jan 18 01:23 host_disk.xml
-rw-r--r-- 1 1000 users 2545 avr 30 06:50 hpux_fs.xml
-rw-r--r-- 1 1000 users 2882 avr 30 06:50 hpux_lan.xml
-rw-r--r-- 1 1000 users 4312 jan 18 01:23 interface.xml
-rw-r--r-- 1 1000 users 3256 jan 18 01:23 kbridge.xml
-rw-r--r-- 1 1000 users 1532 jan 18 01:23 net-snmp_disk.xml
-rw-r--r-- 1 1000 users 1753 jan 18 01:23 netware_cpu.xml
-rw-r--r-- 1 1000 users 2104 jan 18 01:23 netware_disk.xml
[root@localhost snmp_queries]#
sorry i have wrong seen you answer
sorry
well i don't know how change this sorry
sorry
well i don't know how change this sorry
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
You can change your graphs to show G instead of M kilobytes.
First go to Graph Management -- CDEFs and click add to create a new CDEF for * -1024. The 3 items should be like this:
Item #1 Special Data Source: CURRENT_DATA_SOURCE
Item #2 Custom String: -1024
Item #3 Operator: *
Here is how to change the Swap graph:
Go to the graph template:
- change the total item "(ucd_memTotalSwap): Total" to use CDEF function "Multiply by 1024"
- change the free item "(ucd_memAvailSwap): Free" to use the CDEF function you created for -1024.
- change all the other items (Current, min, max, avg) to use "Multiply by 1024".
- make sure the Base Value is set to 1024
- Change the kilobytes to bytes for the vertical label and you are all set.
edited Jun 14, 2007 - clarifying some details.
First go to Graph Management -- CDEFs and click add to create a new CDEF for * -1024. The 3 items should be like this:
Item #1 Special Data Source: CURRENT_DATA_SOURCE
Item #2 Custom String: -1024
Item #3 Operator: *
Here is how to change the Swap graph:
Go to the graph template:
- change the total item "(ucd_memTotalSwap): Total" to use CDEF function "Multiply by 1024"
- change the free item "(ucd_memAvailSwap): Free" to use the CDEF function you created for -1024.
- change all the other items (Current, min, max, avg) to use "Multiply by 1024".
- make sure the Base Value is set to 1024
- Change the kilobytes to bytes for the vertical label and you are all set.
edited Jun 14, 2007 - clarifying some details.
Last edited by jwoo on Thu Jun 14, 2007 9:17 am, edited 1 time in total.
Numbers on HP-UX Lan doesnt match the real world
Hi
I got the HP-UX template up and running but I have noticed that the numbers on my LAN interface are incorrect. If I check the graphs of the switchport that the same host is connected to I get a maximum value of 500-800 Mbit/s (1 Gigabit Ehternet interface and during backup) and if I check the hp-ux lan graph it says max around 15Mbyte/s. Any ideas what the problem can be?
I got the HP-UX template up and running but I have noticed that the numbers on my LAN interface are incorrect. If I check the graphs of the switchport that the same host is connected to I get a maximum value of 500-800 Mbit/s (1 Gigabit Ehternet interface and during backup) and if I check the hp-ux lan graph it says max around 15Mbyte/s. Any ideas what the problem can be?
I try this recept, but got:jwoo wrote:You can change your graphs to show G instead of M kilobytes.
CDEF:cdefa=a,1024,* \
CDEF:cdefc=0,-1024,* \
CDEF:cdefd=b,1024,* \
AREA:cdefa#FF0000:"Total" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s\n" \
AREA:cdefc#00B99B:"Free":STACK \
GPRINT:cdefd:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Max\:%8.2lf %s"
RRDTool Says:
ERROR: rpn expressions without DEF or CDEF variables are not supported
I have use Cacti 0.8.6j, under FreeBSD and Gentoo host with NET-SNMP 5.4.1
Who is online
Users browsing this forum: No registered users and 0 guests