Bluecoat Proxy Template (inc fan & temp) (2005/09/19)
Moderators: Developers, Moderators
Bluecoat Proxy Template (inc fan & temp) (2005/09/19)
Hi,
Here is a template for Bluecoat Proxy (based on the one done by Morgan)
http://forums.cacti.net/viewtopic.php?t ... t=bluecoat
Here what it graphs:
- Traffic
- CPU Load
- HTTP Clients Requests / Clients Hits
- HTTP Proxy Requests (Server requests)
- Hit Ratio (Objects, Bytes)
- Workers (Max specified by licence, and current)
- Availability
- Response Time
- Fan Speed : CPU, Chassis (new)
- Temperature : CPU, Motherboard (new)
DO NOT FORGET to change username/password in perl script.
When CPU Temp is not available (like CPU2 on ProxySG 800) the return value is 0.
When Fan speed is not available (like fan on CPU 2 on proxySG 800), the return value is defined to 10. I decided not to define to 0 due to thold Alerts.
Temperature & Fan Speed DO NOT WORK on ProxySG400 (information are not available in sysinfo).
Both scripts (Fan Speed & Temperature) must be modified to work with CacheFlow.
Have Fun !
Here is a template for Bluecoat Proxy (based on the one done by Morgan)
http://forums.cacti.net/viewtopic.php?t ... t=bluecoat
Here what it graphs:
- Traffic
- CPU Load
- HTTP Clients Requests / Clients Hits
- HTTP Proxy Requests (Server requests)
- Hit Ratio (Objects, Bytes)
- Workers (Max specified by licence, and current)
- Availability
- Response Time
- Fan Speed : CPU, Chassis (new)
- Temperature : CPU, Motherboard (new)
DO NOT FORGET to change username/password in perl script.
When CPU Temp is not available (like CPU2 on ProxySG 800) the return value is 0.
When Fan speed is not available (like fan on CPU 2 on proxySG 800), the return value is defined to 10. I decided not to define to 0 due to thold Alerts.
Temperature & Fan Speed DO NOT WORK on ProxySG400 (information are not available in sysinfo).
Both scripts (Fan Speed & Temperature) must be modified to work with CacheFlow.
Have Fun !
- Attachments
-
- cacti_host_template_bluecoat_proxy.xml
- Bluecoat Template export from cacti 0.8.6g (include temperature & fan speed)
- (225.06 KiB) Downloaded 5139 times
-
- proxySG_workers.pl.txt
- Get Workers Script (to be placed in scripts folder) Valided with SGOX 3.2.X
- (2.76 KiB) Downloaded 3363 times
-
- proxySG_hit_ratio.pl.txt
- Hit Ratio Script (to be placed in scripts folder) Valided with SGOS 3.2.X
- (4.69 KiB) Downloaded 3765 times
Last edited by cmarsot on Mon Sep 19, 2005 2:45 am, edited 6 times in total.
Bluecoat Proxy Template Screenshot 1
You will find below screenshots asked by Morgan.
- Attachments
-
- Availability
- availability.png (3.71 KiB) Viewed 58443 times
-
- Clients Hits & Requests
- client requests.png (9.49 KiB) Viewed 58443 times
-
- Cpu
- cpu.png (5.15 KiB) Viewed 58443 times
Last edited by cmarsot on Wed Sep 14, 2005 2:36 am, edited 1 time in total.
Bluecoat Proxy Template Screenshot 2
Other screenshots
- Attachments
-
- Hit Ratio
- hit ratio.png (4.82 KiB) Viewed 58443 times
-
- Response Time
- response time.png (5.14 KiB) Viewed 58443 times
-
- Proxy Requests
- server requests.png (7.5 KiB) Viewed 58443 times
Bluecoat Proxy Template Screenshot 3
More screenshots
- Attachments
-
- Traffic
- traffic.png (6.41 KiB) Viewed 58441 times
-
- Workers
- workers.png (4.78 KiB) Viewed 58441 times
Temperature & Fan rotation of Bluecoat Proxy SG
Hi,
I have write scripts and graphs to graphs Temperature of CPU & Motherboard, and Fan rotation speed of CPU, and chassis.
Anyone is interesting ?
I have write scripts and graphs to graphs Temperature of CPU & Motherboard, and Fan rotation speed of CPU, and chassis.
Anyone is interesting ?
Temperature graph
- Attachments
-
- Temperature Graph
- temperature.png (9.79 KiB) Viewed 58314 times
-
- proxySG_sensors_temp.pl.txt
- Temperature Script
- (2.15 KiB) Downloaded 2252 times
Last edited by cmarsot on Mon Sep 19, 2005 3:23 am, edited 1 time in total.
Fan Speed
- Attachments
-
- Fan Speed Graph
- Fan Speed.png (10.3 KiB) Viewed 58313 times
-
- proxySG_sensors_fan.pl.txt
- Fan Speed Script
- (2.47 KiB) Downloaded 2236 times
importing templates
I'm having the same problems that HL had on the Bluecoat forums. I'm unable to import the templates.I'm getting a 'Error: XML: Hash version does not exist.' when I attempt either importing from a file or by copying the text.
Hi all,
I have found that perhaps scripts will not work fine.
By default, HTTP statistics returned by scripts (Hit Ratio, Temp, Fan speed) will be in HTLM mode ...
So to not have this problem, you should connect to your proxies using this URL (one time is enough):
https://X.X.X.X:8082/Console_urls/stats_mode=0
I will try to insert this in my scripts !
I have found that perhaps scripts will not work fine.
By default, HTTP statistics returned by scripts (Hit Ratio, Temp, Fan speed) will be in HTLM mode ...
So to not have this problem, you should connect to your proxies using this URL (one time is enough):
https://X.X.X.X:8082/Console_urls/stats_mode=0
I will try to insert this in my scripts !
problems
First i have a dependency problem in the import of this and yes i'm running g.
Cacti has imported the following items:
Round Robin Archive
[success] Daily (5 Minute Average) [update]
[success] Weekly (30 Minute Average) [update]
[success] Monthly (2 Hour Average) [update]
[success] Yearly (1 Day Average) [update]
CDEF
[success] Unknown-Data [update]
[success] Turn Bytes into Bits [update]
[success] Total All Data Sources [update]
[success] Turn Bytes into Bits, Make per Second, Convert in Percent [update]
GPRINT Preset
[success] Normal [update]
[success] Percentage [update]
[success] Exact Numbers [update]
Data Input Method
[success] Get SNMP Data [update]
[success] ProxySG Hit Ratio [update]
[success] ProxySG Workers [update]
[success] Host - Get Availability Percent [update]
[success] Host - Get Availability Current [update]
[success] ProxySG Temp [update]
[success] ProxySG Fan [update]
[success] Get SNMP Data (Indexed) [update]
Data Template
[success] Bluecoat Proxy - Client HTTP Requests [update]
[success] Bluecoat Proxy - Client HTTP Hits [update]
[success] Bluecoat Proxy - CPU [update]
[success] Bluecoat Proxy - Server HTTP [update]
[success] Bluecoat Proxy - Hit Ratio [update]
[success] Bluecoat Proxy - Workers [update]
[success] _Availability [update]
[success] _Response Time [update]
[success] Bluecoat Proxy - Temperature [update]
[success] Bluecoat Proxy - Fan [update]
[success] Interface - Traffic [update]
[success] Interface - Errors/Discards [update]
[success] Interface - Unicast Packets [update]
[success] Interface - Non-Unicast Packets [update]
Graph Template
[success] #PRX03 - Proxy - HTTP Client Requests (and Hits) [update]
[success] #PRX02 - Proxy - CPU Load [update]
[success] #PRX04 - Proxy - HTTP Server Requests [update]
[success] #PRX08 - Proxy - Hit Ratio [update]
+ Found Dependency: (Data Template Item) hr_objects
+ Found Dependency: (GPRINT Preset) Percentage
+ Found Dependency: (Data Template Item) hr_bytes
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (CDEF) Unknown-Data
+ Found Dependency: (GPRINT Preset) Normal
[success] #PRX09 - Proxy - Workers [update]
[success] #_Availability [update]
[success] #_Response Time [update]
[success] #PRX10 - Proxy - Temperature [update]
[success] #PRX11 - Proxy - Fan [update]
[success] Interface - Traffic (bits/sec) [update]
[success] Interface - Packets Errors/Discards [update]
[success] Interface - Packets Unicast [update]
[success] Interface - Packets Non-Unicast [update]
[success] Interface - Traffic (bytes/sec) [update]
[success] Interface - Traffic (bits/sec, 95th Percentile, Total Bandwith) [update]
[success] Interface - Traffic (bits/sec, Total Bandwidth) [update]
[success] Interface - Traffic (bytes/sec, Total Bandwidth) [update]
Data Query
[success] SNMP - Interface Statistics [update]
Host Template
[success] Bluecoat Proxy [new]
Second: When trying to use the provided scripts (after changing to their proper case sensitivity of course (proxySG) i would get
500 Can't read entity body:
and I'm using the latest proxySG in HTTPS mode which uses port 8082. SO, after changing all the scripts to use curl instead of LWP since I could not get LWP to work at all, I now am getting the proper results when I manually run the scripts. However, still nothing in the graphs at all.
Cacti has imported the following items:
Round Robin Archive
[success] Daily (5 Minute Average) [update]
[success] Weekly (30 Minute Average) [update]
[success] Monthly (2 Hour Average) [update]
[success] Yearly (1 Day Average) [update]
CDEF
[success] Unknown-Data [update]
[success] Turn Bytes into Bits [update]
[success] Total All Data Sources [update]
[success] Turn Bytes into Bits, Make per Second, Convert in Percent [update]
GPRINT Preset
[success] Normal [update]
[success] Percentage [update]
[success] Exact Numbers [update]
Data Input Method
[success] Get SNMP Data [update]
[success] ProxySG Hit Ratio [update]
[success] ProxySG Workers [update]
[success] Host - Get Availability Percent [update]
[success] Host - Get Availability Current [update]
[success] ProxySG Temp [update]
[success] ProxySG Fan [update]
[success] Get SNMP Data (Indexed) [update]
Data Template
[success] Bluecoat Proxy - Client HTTP Requests [update]
[success] Bluecoat Proxy - Client HTTP Hits [update]
[success] Bluecoat Proxy - CPU [update]
[success] Bluecoat Proxy - Server HTTP [update]
[success] Bluecoat Proxy - Hit Ratio [update]
[success] Bluecoat Proxy - Workers [update]
[success] _Availability [update]
[success] _Response Time [update]
[success] Bluecoat Proxy - Temperature [update]
[success] Bluecoat Proxy - Fan [update]
[success] Interface - Traffic [update]
[success] Interface - Errors/Discards [update]
[success] Interface - Unicast Packets [update]
[success] Interface - Non-Unicast Packets [update]
Graph Template
[success] #PRX03 - Proxy - HTTP Client Requests (and Hits) [update]
[success] #PRX02 - Proxy - CPU Load [update]
[success] #PRX04 - Proxy - HTTP Server Requests [update]
[success] #PRX08 - Proxy - Hit Ratio [update]
+ Found Dependency: (Data Template Item) hr_objects
+ Found Dependency: (GPRINT Preset) Percentage
+ Found Dependency: (Data Template Item) hr_bytes
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (CDEF) Unknown-Data
+ Found Dependency: (GPRINT Preset) Normal
[success] #PRX09 - Proxy - Workers [update]
[success] #_Availability [update]
[success] #_Response Time [update]
[success] #PRX10 - Proxy - Temperature [update]
[success] #PRX11 - Proxy - Fan [update]
[success] Interface - Traffic (bits/sec) [update]
[success] Interface - Packets Errors/Discards [update]
[success] Interface - Packets Unicast [update]
[success] Interface - Packets Non-Unicast [update]
[success] Interface - Traffic (bytes/sec) [update]
[success] Interface - Traffic (bits/sec, 95th Percentile, Total Bandwith) [update]
[success] Interface - Traffic (bits/sec, Total Bandwidth) [update]
[success] Interface - Traffic (bytes/sec, Total Bandwidth) [update]
Data Query
[success] SNMP - Interface Statistics [update]
Host Template
[success] Bluecoat Proxy [new]
Second: When trying to use the provided scripts (after changing to their proper case sensitivity of course (proxySG) i would get
500 Can't read entity body:
and I'm using the latest proxySG in HTTPS mode which uses port 8082. SO, after changing all the scripts to use curl instead of LWP since I could not get LWP to work at all, I now am getting the proper results when I manually run the scripts. However, still nothing in the graphs at all.
sh: /usr/share/cacti/site/scripts/host_availability_percent.php: No such file or directory
sh: /usr/share/cacti/site/scripts/host_availability_current.php: No such file or directory
what are these?
I've gotten some of them fixed by trimming whitespace (probably the difference between using LWP and curl) but I still can't get any of the snmp ones to work.
The ones that aren't working are showing this
:
ERROR: bad format for [G]PRINT in 'Current:'
sh: /usr/share/cacti/site/scripts/host_availability_current.php: No such file or directory
what are these?
I've gotten some of them fixed by trimming whitespace (probably the difference between using LWP and curl) but I still can't get any of the snmp ones to work.
The ones that aren't working are showing this
:
ERROR: bad format for [G]PRINT in 'Current:'
Who is online
Users browsing this forum: No registered users and 0 guests