2008-11-13 11:05:30 +00:00
<? php
2011-04-20 10:02:42 +00:00
#########################################################
# NO CHANGES TO THIS FILE, IT IS NOT USER-EDITABLE #
#########################################################
# YES, THAT MEANS YOU #
#########################################################
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ 'default' ][ 'over' ][ 0 ][ 'graph' ] = "device_processor" ;
2011-09-20 14:22:34 +00:00
$config [ 'os' ][ 'default' ][ 'over' ][ 0 ][ 'text' ] = "Processor Usage" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ 'default' ][ 'over' ][ 1 ][ 'graph' ] = "device_mempool" ;
2011-09-20 14:22:34 +00:00
$config [ 'os' ][ 'default' ][ 'over' ][ 1 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2011-04-22 14:59:10 +00:00
$os_group = "unix" ;
2011-09-23 11:09:48 +00:00
$config [ 'os_group' ][ $os_group ][ 'type' ] = "server" ;
$config [ 'os_group' ][ $os_group ][ 'processor_stacked' ] = 1 ;
2011-08-30 23:37:04 +00:00
$config [ 'os_group' ][ $os_group ][ 'over' ][ 0 ][ 'graph' ] = "device_processor" ;
$config [ 'os_group' ][ $os_group ][ 'over' ][ 0 ][ 'text' ] = "Processor Usage" ;
$config [ 'os_group' ][ $os_group ][ 'over' ][ 1 ][ 'graph' ] = "device_ucd_memory" ;
$config [ 'os_group' ][ $os_group ][ 'over' ][ 1 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "generic" ;
2011-09-20 14:22:34 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Generic Device" ;
2010-07-23 15:05:01 +00:00
2011-03-03 17:53:25 +00:00
$os = "vyatta" ;
$config [ 'os' ][ $os ][ 'text' ] = "Vyatta" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
2011-10-07 13:40:55 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Processor Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2011-03-03 17:53:25 +00:00
2011-10-07 17:59:12 +00:00
2011-03-29 13:48:03 +00:00
### Linux-based OSes here please.
2010-07-23 15:05:01 +00:00
$os = "linux" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "Linux" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
2011-08-30 23:37:04 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Processor Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_ucd_memory" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Memory Usage" ;
2011-09-19 11:20:20 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_storage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Storage Usage" ;
2011-03-29 13:48:03 +00:00
$os = "qnap" ;
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "QNAP TurboNAS" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
2011-10-07 17:59:12 +00:00
$os = "endian" ;
$config [ 'os' ][ $os ][ 'text' ] = "Endian" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Processor Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2012-03-16 10:57:02 +00:00
$os = "ciscosmblinux" ;
$config [ 'os' ][ $os ][ 'type' ] = "wireless" ;
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "Cisco SMB Linux" ;
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Processor Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2011-11-03 12:26:45 +00:00
2011-03-29 14:11:01 +00:00
### Other Unix-based OSes here please.
2011-03-29 13:48:03 +00:00
2010-07-23 15:05:01 +00:00
$os = "freebsd" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "FreeBSD" ;
2010-07-23 15:05:01 +00:00
$os = "openbsd" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "OpenBSD" ;
2010-07-23 15:05:01 +00:00
$os = "netbsd" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "NetBSD" ;
2010-07-23 15:05:01 +00:00
$os = "dragonfly" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "DragonflyBSD" ;
2010-07-23 15:05:01 +00:00
$os = "netware" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Novell Netware" ;
$config [ 'os' ][ $os ][ 'icon' ] = "novell" ;
2010-07-23 15:05:01 +00:00
$os = "monowall" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "m0n0wall" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
2010-07-29 13:50:09 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-07-29 13:50:09 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2010-07-23 15:05:01 +00:00
$os = "solaris" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "Sun Solaris" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2010-07-23 15:05:01 +00:00
$os = "adva" ;
2010-09-05 13:09:18 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Adva Optical" ;
2011-04-19 21:54:43 +00:00
2010-09-05 13:03:21 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "opensolaris" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "Sun OpenSolaris" ;
2010-07-23 15:05:01 +00:00
2010-09-16 13:11:51 +00:00
$os = "openindiana" ;
2010-09-17 21:30:39 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
2010-09-16 13:11:51 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "unix" ;
$config [ 'os' ][ $os ][ 'text' ] = "OpenIndiana" ;
2011-05-03 16:25:55 +00:00
## Alcatel
2011-03-17 11:59:24 +00:00
$os = "aos" ;
$config [ 'os' ][ $os ][ 'group' ] = "aos" ;
$config [ 'os' ][ $os ][ 'text' ] = "Alcatel-Lucent OS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
2011-03-17 11:59:24 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-03-21 14:36:44 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "alcatellucent" ;
$os = "timos" ;
$config [ 'os' ][ $os ][ 'group' ] = "timos" ;
$config [ 'os' ][ $os ][ 'text' ] = "Alcatel-Lucent TimOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'icon' ] = "alcatellucent" ;
2011-03-17 11:59:24 +00:00
2011-05-03 16:25:55 +00:00
## Cisco OSes
2010-07-23 15:05:01 +00:00
$os = "ios" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco IOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-29 13:47:47 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2012-01-12 11:09:45 +00:00
$os = "acsw" ;
2012-01-20 16:41:29 +00:00
#$config['os'][$os]['group'] = "cisco";
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco ACE" ;
2012-01-12 11:09:45 +00:00
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
2012-01-20 16:41:29 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "loadbalancer" ;
2012-01-12 11:09:45 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "cat1900" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cat1900" ;
$config [ 'os' ][ $os ][ 'text' ] = "Cisco Catalyst 1900" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "cisco-old" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "iosxe" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco IOS-XE" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2010-07-23 15:05:01 +00:00
$os = "iosxr" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco IOS-XR" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "asa" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco ASA" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2010-07-23 15:05:01 +00:00
$os = "pix" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco PIX-OS" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
2010-07-29 13:47:47 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "nxos" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco NX-OS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-29 13:47:47 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2010-08-23 17:17:03 +00:00
$os = "sanos" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2010-08-23 17:17:03 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco SAN-OS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "cisco" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-23 17:17:03 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-23 17:17:03 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "catos" ;
2012-01-12 11:16:38 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco CatOS" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-29 13:47:47 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "cisco-old" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2012-03-15 15:04:50 +00:00
## Cisco Small Business
2012-03-15 14:47:41 +00:00
2012-03-15 15:04:50 +00:00
$os = "ciscosb" ;
2012-03-15 14:47:41 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "cisco" ;
2012-03-15 15:04:50 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Cisco Small Business" ;
2012-03-15 14:47:41 +00:00
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "linksys" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-05-03 16:25:55 +00:00
## Huawei
2010-07-23 15:05:01 +00:00
$os = "vrp" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "vrp" ;
$config [ 'os' ][ $os ][ 'text' ] = "Huawei VRP" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "huawei" ;
2010-07-23 15:05:01 +00:00
2011-12-02 10:31:32 +00:00
## ZTE
$os = "zxr10" ;
$config [ 'os' ][ $os ][ 'group' ] = "zxr10" ;
$config [ 'os' ][ $os ][ 'text' ] = "ZTE ZXR10" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zte" ;
2011-05-03 16:25:55 +00:00
# Juniper
2010-07-23 15:05:01 +00:00
$os = "junos" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Juniper JunOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2011-05-03 16:25:55 +00:00
$os = "junose" ;
$config [ 'os' ][ $os ][ 'text' ] = "Juniper JunOSe" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "junos" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-29 15:45:26 +00:00
$os = "jwos" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Juniper JWOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "junos" ;
2010-07-29 15:45:26 +00:00
2010-07-23 15:05:01 +00:00
$os = "screenos" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Juniper ScreenOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2010-08-11 11:27:58 +00:00
$os = "fortigate" ;
$config [ 'os' ][ $os ][ 'text' ] = "Fortinet Fortigate" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "fortinet" ;
2010-08-11 11:27:58 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
#$config['os'][$os]['over'][1]['graph'] = "device_processor";
2010-08-11 11:27:58 +00:00
#$config['os'][$os]['over'][1]['text'] = "CPU Usage";
2011-04-09 15:20:07 +00:00
#$config['os'][$os]['over'][2]['graph'] = "device_mempool";
2010-08-11 11:27:58 +00:00
#$config['os'][$os]['over'][2]['text'] = "Memory Usage";
2010-07-23 15:05:01 +00:00
$os = "routeros" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Mikrotik RouterOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'nobulk' ] = 1 ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
$os = "ironware" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Brocade IronWare" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2012-01-25 06:32:27 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "brocade" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2012-01-25 06:32:27 +00:00
$os = "fabos" ;
$config [ 'os' ][ $os ][ 'text' ] = "Brocade FabricOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "brocade" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "extremeware" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Extremeware" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'icon' ] = "extreme" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2010-07-25 20:54:01 +00:00
$os = "packetshaper" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Blue Coat Packetshaper" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-25 20:54:01 +00:00
2010-07-23 15:05:01 +00:00
$os = "xos" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Extreme XOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'group' ] = "extremeware" ;
$config [ 'os' ][ $os ][ 'icon' ] = "extreme" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
$os = "ftos" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Force10 FTOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "force10" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-23 15:05:01 +00:00
2012-01-27 11:29:37 +00:00
$os = "avaya-ers" ;
$config [ 'os' ][ $os ][ 'text' ] = "ERS Firmware" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "avaya" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2010-07-27 02:02:37 +00:00
$os = "arista_eos" ;
$config [ 'os' ][ $os ][ 'text' ] = "Arista EOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "arista" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-08-10 17:36:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-27 02:02:37 +00:00
2011-04-25 20:06:36 +00:00
$os = "netscaler" ;
$config [ 'os' ][ $os ][ 'text' ] = "Citrix Netscaler" ;
2012-01-20 13:15:05 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "loadbalancer" ;
2011-04-25 20:07:37 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "citrix" ;
2011-04-25 20:06:36 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2012-01-20 16:41:29 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-25 20:06:36 +00:00
2011-03-22 12:09:25 +00:00
$os = "proxim" ;
$config [ 'os' ][ $os ][ 'text' ] = "Proxim" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "proxim" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "powerconnect" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Dell PowerConnect" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "dell" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "radlan" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Radlan" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-09-23 11:09:48 +00:00
#$config['os'][$os]['over'][2]['graph'] = "device_mempool";
#$config['os'][$os]['over'][2]['text'] = "Memory Usage";
2010-07-23 15:05:01 +00:00
$os = "powervault" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Dell PowerVault" ;
$config [ 'os' ][ $os ][ 'icon' ] = "dell" ;
2010-07-23 15:05:01 +00:00
$os = "drac" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Dell DRAC" ;
$config [ 'os' ][ $os ][ 'icon' ] = "dell" ;
2010-07-23 15:05:01 +00:00
$os = "bcm963" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Broadcom BCM963xx" ;
$config [ 'os' ][ $os ][ 'icon' ] = "broadcom" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
$os = "netopia" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Motorola Netopia" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-23 15:05:01 +00:00
2010-07-23 17:43:38 +00:00
$os = "tranzeo" ;
$config [ 'os' ][ $os ][ 'text' ] = "Tranzeo" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "dlink" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "D-Link Switch" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "dlink" ;
2010-07-23 15:05:01 +00:00
$os = "dlinkap" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "D-Link Access Point" ;
2012-01-03 10:42:21 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "wireless" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "dlink" ;
2010-07-23 15:05:01 +00:00
$os = "axiscam" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "AXIS Network Camera" ;
$config [ 'os' ][ $os ][ 'icon' ] = "axis" ;
2010-07-23 15:05:01 +00:00
$os = "axisdocserver" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "AXIS Network Document Server" ;
$config [ 'os' ][ $os ][ 'icon' ] = "axis" ;
2010-07-23 15:05:01 +00:00
$os = "gamatronicups" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Gamatronic UPS Stack" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2010-07-23 15:05:01 +00:00
2010-07-31 18:42:30 +00:00
$os = "powerware" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Powerware UPS" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'icon' ] = "eaton" ;
2012-01-12 12:51:21 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_voltage" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Voltage" ;
2010-08-13 13:24:41 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Current" ;
2012-01-12 12:51:21 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_frequency" ;
2010-08-13 13:24:41 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Frequencies" ;
2010-07-31 18:42:30 +00:00
2010-07-30 22:25:07 +00:00
$os = "deltaups" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Delta UPS" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'icon' ] = "delta" ;
2010-07-30 22:25:07 +00:00
2011-05-24 17:59:18 +00:00
$os = "liebert" ;
$config [ 'os' ][ $os ][ 'text' ] = "Liebert" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'icon' ] = "liebert" ;
2010-12-15 17:54:42 +00:00
$os = "engenius" ;
2012-01-03 10:42:21 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "wireless" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "EnGenius Access Point" ;
$config [ 'os' ][ $os ][ 'icon' ] = "engenius" ;
2010-12-15 17:54:42 +00:00
2010-07-23 15:05:01 +00:00
$os = "airport" ;
2012-01-03 10:42:21 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "wireless" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Apple AirPort" ;
$config [ 'os' ][ $os ][ 'icon' ] = "apple" ;
2010-07-23 15:05:01 +00:00
$os = "windows" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Microsoft Windows" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'processor_stacked' ] = 1 ;
2011-08-30 23:37:04 +00:00
2011-03-21 11:03:24 +00:00
$os = "bnt" ;
$config [ 'os' ][ $os ][ 'text' ] = "Blade Network Technologies" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "bnt" ;
2011-10-24 13:57:04 +00:00
$os = "comware" ;
$config [ 'os' ][ $os ][ 'text' ] = "HP Comware" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "hp" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
#$config['os'][$os]['over'][1]['graph'] = "device_processor";
#$config['os'][$os]['over'][1]['text'] = "CPU Usage";
#$config['os'][$os]['over'][2]['graph'] = "device_mempool";
#$config['os'][$os]['over'][2]['text'] = "Memory Usage";
2010-07-23 15:05:01 +00:00
$os = "procurve" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "HP ProCurve" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "hp" ;
2010-07-29 12:26:09 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
2010-07-30 13:19:23 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
2011-04-09 15:20:07 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'graph' ] = "device_mempool" ;
2010-07-30 13:19:23 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 2 ][ 'text' ] = "Memory Usage" ;
2010-07-30 13:18:52 +00:00
2010-07-23 15:05:01 +00:00
$os = "speedtouch" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Thomson Speedtouch" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2010-07-27 12:58:26 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
2011-03-17 11:59:24 +00:00
$os = "sonicwall" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "SonicWALL" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
2010-07-23 15:05:01 +00:00
$os = "zywall" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ZyXEL ZyWALL" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zyxel" ;
2010-07-23 15:05:01 +00:00
$os = "prestige" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ZyXEL Prestige" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zyxel" ;
2010-07-23 15:05:01 +00:00
$os = "zyxeles" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ZyXEL Ethernet Switch" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zyxel" ;
2010-07-23 15:05:01 +00:00
2011-03-21 11:03:24 +00:00
$os = "zyxelnwa" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ZyXEL NWA" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zyxel" ;
2011-03-21 11:03:24 +00:00
2010-07-23 15:05:01 +00:00
$os = "ies" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ZyXEL DSLAM" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "zyxel" ;
2010-07-23 15:05:01 +00:00
$os = "allied" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "AlliedWare" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
$os = "mgeups" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "MGE UPS" ;
$config [ 'os' ][ $os ][ 'group' ] = "ups" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'icon' ] = "mge" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
$os = "mgepdu" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "MGE PDU" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'icon' ] = "mge" ;
2010-07-23 15:05:01 +00:00
$os = "apc" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "APC Management Module" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
2011-09-08 16:45:06 +00:00
$os = "netbotz" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Netbotz Environment sensor" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
2011-09-08 16:45:06 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_humidity" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Humidity" ;
2011-03-16 21:13:12 +00:00
$os = "netvision" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Socomec Net Vision" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2011-03-16 21:13:12 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
2010-07-23 15:05:01 +00:00
$os = "areca" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Areca RAID Subsystem" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "" ;
$os = "netmanplus" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "NetMan Plus" ;
$config [ 'os' ][ $os ][ 'group' ] = "ups" ;
$config [ 'os' ][ $os ][ 'nobulk' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
$os = "akcp" ;
$config [ 'os' ][ $os ][ 'text' ] = "AKCP SensorProbe" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
2011-04-11 09:16:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "temperature" ;
2010-07-23 15:05:01 +00:00
$os = "minkelsrms" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Minkels RMS" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
2011-04-11 09:16:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "temperature" ;
2010-07-23 15:05:01 +00:00
2010-11-19 22:46:24 +00:00
$os = "ipoman" ;
$config [ 'os' ][ $os ][ 'text' ] = "Ingrasys iPoMan" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2011-03-21 09:29:24 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "ingrasys" ;
2010-11-19 22:46:24 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
2011-10-07 18:09:22 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_power" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "Power" ;
2010-11-19 22:46:24 +00:00
2010-07-26 17:56:02 +00:00
$os = "wxgoos" ;
$config [ 'os' ][ $os ][ 'text' ] = "ITWatchDogs Goose" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
2011-04-11 09:16:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "temperature" ;
2010-07-26 17:56:02 +00:00
2010-07-23 15:05:01 +00:00
$os = "papouch-tme" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Papouch TME" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
2011-04-11 09:16:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "temperature" ;
2010-07-23 15:05:01 +00:00
2011-03-21 11:03:24 +00:00
$os = "cometsystem-p85xx" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Comet System P85xx" ;
$config [ 'os' ][ $os ][ 'type' ] = "environment" ;
$config [ 'os' ][ $os ][ 'icon' ] = "comet" ;
2011-04-11 09:16:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_temperature" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "temperature" ;
2011-03-21 11:03:24 +00:00
2010-07-23 15:05:01 +00:00
$os = "dell-laser" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Dell Laser" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
$config [ 'os' ][ $os ][ 'icon' ] = "dell" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
2010-07-25 20:56:04 +00:00
$os = "ricoh" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Ricoh Printer" ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
$config [ 'os' ][ $os ][ 'icon' ] = "ricoh" ;
2010-07-25 20:56:04 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
2010-07-23 15:05:01 +00:00
$os = "xerox" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Xerox Printer" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
$os = "jetdirect" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "HP Print server" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
$config [ 'os' ][ $os ][ 'icon' ] = "hp" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
$os = "richoh" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Ricoh Printer" ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
2010-07-25 20:54:01 +00:00
$os = "okilan" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "OKI Printer" ;
2010-07-25 20:54:01 +00:00
$config [ 'os' ][ $os ][ 'overgraph' ][] = "device_toner" ;
$config [ 'os' ][ $os ][ 'overtext' ] = "Toner" ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-25 21:00:23 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "oki" ;
2010-07-25 20:54:01 +00:00
2010-07-23 15:05:01 +00:00
$os = "brother" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Brother Printer" ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
$os = "konica" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Konica-Minolta Printer" ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-23 15:05:01 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
$os = "kyocera" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "printer" ;
$config [ 'os' ][ $os ][ 'text' ] = "Kyocera Mita Printer" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_toner" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Toner" ;
$config [ 'os' ][ $os ][ 'ifname' ] = 1 ;
$config [ 'os' ][ $os ][ 'type' ] = "printer" ;
2010-07-23 15:05:01 +00:00
$os = "3com" ;
$config [ 'os' ][ $os ][ 'text' ] = "3Com" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
2011-03-16 20:13:50 +00:00
$os = "sentry3" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "ServerTech Sentry3" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2011-03-16 20:13:50 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "servertech" ;
2011-03-16 20:13:50 +00:00
2011-08-14 11:25:18 +00:00
$os = "raritan" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Raritan PDU" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
$config [ 'os' ][ $os ][ 'icon' ] = "raritan" ;
2011-08-14 11:25:18 +00:00
2011-03-26 17:16:09 +00:00
$os = "vmware" ;
$config [ 'os' ][ $os ][ 'type' ] = "server" ;
$config [ 'os' ][ $os ][ 'text' ] = "VMware" ;
$config [ 'os' ][ $os ][ 'ifXmcbc' ] = 1 ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Device Traffic" ;
2011-04-03 17:10:36 +00:00
$os = "mrvld" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'group' ] = "mrv" ;
$config [ 'os' ][ $os ][ 'text' ] = "MRV LambdaDriver" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "mrv" ;
2011-04-03 17:10:36 +00:00
2011-04-08 15:32:14 +00:00
$os = "poweralert" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'text' ] = "Tripp Lite PowerAlert" ;
$config [ 'os' ][ $os ][ 'type' ] = "power" ;
2011-04-08 15:32:14 +00:00
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_current" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Current" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'icon' ] = "tripplite" ;
2011-04-08 15:32:14 +00:00
2011-11-03 12:26:45 +00:00
$os = "avocent" ;
$config [ 'os' ][ $os ][ 'text' ] = "Avocent" ;
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'icon' ] = "avocent" ;
2011-09-08 13:36:32 +00:00
$os = "symbol" ;
2011-09-23 11:09:48 +00:00
$config [ 'os' ][ $os ][ 'type' ] = "network" ;
$config [ 'os' ][ $os ][ 'text' ] = "Symbol AP" ;
$config [ 'os' ][ $os ][ 'icon' ] = "symbol" ;
2011-09-08 13:36:32 +00:00
2011-12-14 22:04:56 +00:00
$os = "firebox" ;
$config [ 'os' ][ $os ][ 'text' ] = "Watchguard Firebox" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'graph' ] = "device_bits" ;
$config [ 'os' ][ $os ][ 'over' ][ 0 ][ 'text' ] = "Traffic" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'graph' ] = "device_processor" ;
$config [ 'os' ][ $os ][ 'over' ][ 1 ][ 'text' ] = "CPU Usage" ;
$config [ 'os' ][ $os ][ 'icon' ] = "watchguard" ;
2012-01-02 15:56:00 +00:00
$os = "panos" ;
$config [ 'os' ][ $os ][ 'text' ] = "PanOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "firewall" ;
$config [ 'os' ][ $os ][ 'icon' ] = "panos" ;
$os = "arubaos" ;
$config [ 'os' ][ $os ][ 'text' ] = "ArubaOS" ;
$config [ 'os' ][ $os ][ 'type' ] = "wireless" ;
$config [ 'os' ][ $os ][ 'icon' ] = "arubaos" ;
2011-12-14 22:04:56 +00:00
2011-10-04 09:10:21 +00:00
foreach ( $config [ 'os' ] as $this_os => $blah )
2011-04-22 14:59:10 +00:00
{
2011-05-01 17:26:06 +00:00
if ( isset ( $config [ 'os' ][ $this_os ][ 'group' ]))
{
2011-04-28 13:08:13 +00:00
$this_os_group = $config [ 'os' ][ $this_os ][ 'group' ];
if ( isset ( $config [ 'os_group' ][ $this_os_group ]))
2011-04-22 14:59:10 +00:00
{
2011-04-28 13:08:13 +00:00
foreach ( $config [ 'os_group' ][ $this_os_group ] as $property => $value )
2011-04-22 14:59:10 +00:00
{
2011-04-28 13:08:13 +00:00
if ( ! isset ( $config [ 'os' ][ $this_os ][ $property ]))
{
$config [ 'os' ][ $this_os ][ $property ] = $value ;
}
2011-04-22 14:59:10 +00:00
}
}
}
}
2011-04-03 17:10:36 +00:00
2010-07-31 00:54:51 +00:00
### Graph Types
2012-01-17 13:37:52 +00:00
$config [ 'graph_sections' ] = array ( 'system' , 'firewall' , 'netstats' , 'wireless' , 'storage' , 'vpdn' , 'load balancer' );
2010-07-31 01:03:32 +00:00
2011-04-05 14:15:35 +00:00
$config [ 'graph_types' ][ 'device' ][ 'wifi_clients' ][ 'section' ] = 'wireless' ;
$config [ 'graph_types' ][ 'device' ][ 'wifi_clients' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'wifi_clients' ][ 'descr' ] = 'Wireless Clients' ;
2010-07-31 00:54:51 +00:00
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_bits' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_bits' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_bits' ][ 'descr' ] = 'IPSec Tunnel Traffic Volume' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_pkts' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_pkts' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_pkts' ][ 'descr' ] = 'IPSec Tunnel Traffic Packets' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_stats' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_stats' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_stats' ][ 'descr' ] = 'IPSec Tunnel Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_tunnels' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_tunnels' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'cipsec_flow_tunnels' ][ 'descr' ] = 'IPSec Active Tunnels' ;
$config [ 'graph_types' ][ 'device' ][ 'cras_sessions' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'cras_sessions' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'cras_sessions' ][ 'descr' ] = 'Remote Access Sessions' ;
$config [ 'graph_types' ][ 'device' ][ 'fortigate_sessions' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'fortigate_sessions' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'fortigate_sessions' ][ 'descr' ] = 'Active Sessions' ;
2010-08-11 11:27:58 +00:00
$config [ 'graph_types' ][ 'device' ][ 'screenos_sessions' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'screenos_sessions' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'screenos_sessions' ][ 'descr' ] = 'Active Sessions' ;
2012-01-02 15:56:00 +00:00
$config [ 'graph_types' ][ 'device' ][ 'panos_sessions' ][ 'section' ] = 'firewall' ;
$config [ 'graph_types' ][ 'device' ][ 'panos_sessions' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'panos_sessions' ][ 'descr' ] = 'Active Sessions' ;
2010-07-31 00:54:51 +00:00
$config [ 'graph_types' ][ 'device' ][ 'bits' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'bits' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'bits' ][ 'descr' ] = 'Total Traffic' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4' ][ 'descr' ] = 'IPv4 Packet Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4_frag' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4_frag' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv4_frag' ][ 'descr' ] = 'IPv4 Fragmentation Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6' ][ 'descr' ] = 'IPv6 Packet Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6_frag' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6_frag' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ipsystemstats_ipv6_frag' ][ 'descr' ] = 'IPv6 Fragmentation Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp_info' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp_info' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp_info' ][ 'descr' ] = 'ICMP Informational Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_icmp' ][ 'descr' ] = 'ICMP Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip' ][ 'descr' ] = 'IP Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip_frag' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip_frag' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_ip_frag' ][ 'descr' ] = 'IP Fragmentation Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp' ][ 'descr' ] = 'SNMP Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp_pkt' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp_pkt' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_snmp_pkt' ][ 'descr' ] = 'SNMP Packet Type Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_tcp' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_tcp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_tcp' ][ 'descr' ] = 'TCP Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_udp' ][ 'section' ] = 'netstats' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_udp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netstat_udp' ][ 'descr' ] = 'UDP Statistics' ;
$config [ 'graph_types' ][ 'device' ][ 'fdb_count' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'fdb_count' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'fdb_count' ][ 'descr' ] = 'MAC Addresses Learnt' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_processes' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_processes' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_processes' ][ 'descr' ] = 'Running Processes' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_users' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_users' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'hr_users' ][ 'descr' ] = 'Users Logged In' ;
2011-04-09 15:20:07 +00:00
$config [ 'graph_types' ][ 'device' ][ 'mempool' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'mempool' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'mempool' ][ 'descr' ] = 'Memory Pool Usage' ;
$config [ 'graph_types' ][ 'device' ][ 'processor' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'processor' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'processor' ][ 'descr' ] = 'Processor Usage' ;
2010-07-31 00:54:51 +00:00
$config [ 'graph_types' ][ 'device' ][ 'storage' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'storage' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'storage' ][ 'descr' ] = 'Filesystem Usage' ;
2011-04-11 09:16:50 +00:00
$config [ 'graph_types' ][ 'device' ][ 'temperature' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'temperature' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'temperature' ][ 'descr' ] = 'temperature' ;
2010-07-31 00:54:51 +00:00
$config [ 'graph_types' ][ 'device' ][ 'ucd_cpu' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_cpu' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_cpu' ][ 'descr' ] = 'Detailed Processor Usage' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_load' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_load' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_load' ][ 'descr' ] = 'Load Averages' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_memory' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_memory' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_memory' ][ 'descr' ] = 'Detailed Memory Usage' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_swap_io' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_swap_io' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_swap_io' ][ 'descr' ] = 'Swap I/O Activity' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_io' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_io' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_io' ][ 'descr' ] = 'System I/O Activity' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_contexts' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_contexts' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_contexts' ][ 'descr' ] = 'Context Switches' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_interrupts' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_interrupts' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'ucd_interrupts' ][ 'descr' ] = 'Interrupts' ;
$config [ 'graph_types' ][ 'device' ][ 'uptime' ][ 'section' ] = 'system' ;
$config [ 'graph_types' ][ 'device' ][ 'uptime' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'uptime' ][ 'descr' ] = 'System Uptime' ;
2011-11-28 17:15:42 +00:00
$config [ 'graph_types' ][ 'device' ][ 'vpdn_sessions_l2tp' ][ 'section' ] = 'vpdn' ;
$config [ 'graph_types' ][ 'device' ][ 'vpdn_sessions_l2tp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'vpdn_sessions_l2tp' ][ 'descr' ] = 'VPDN L2TP Sessions' ;
$config [ 'graph_types' ][ 'device' ][ 'vpdn_tunnels_l2tp' ][ 'section' ] = 'vpdn' ;
$config [ 'graph_types' ][ 'device' ][ 'vpdn_tunnels_l2tp' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'vpdn_tunnels_l2tp' ][ 'descr' ] = 'VPDN L2TP Tunnels' ;
2012-01-17 13:37:52 +00:00
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_conn' ][ 'section' ] = 'load balancer' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_conn' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_conn' ][ 'descr' ] = 'TCP Connections' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_bits' ][ 'section' ] = 'load balancer' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_bits' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_bits' ][ 'descr' ] = 'TCP Traffic' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_pkts' ][ 'section' ] = 'load balancer' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_pkts' ][ 'order' ] = '0' ;
$config [ 'graph_types' ][ 'device' ][ 'netscaler_tcp_pkts' ][ 'descr' ] = 'TCP Packets' ;
2012-03-27 16:53:23 +00:00
$config [ 'graph_descr' ][ 'device_smokeping_in_all' ] = "This is an aggregate graph of the incoming smokeping tests to this host. The line corresponds to the average RTT. The shaded area around each line denotes the standard deviation." ;
2011-11-28 17:15:42 +00:00
2010-07-31 00:54:51 +00:00
### Device Types
2010-07-30 17:07:34 +00:00
$i = 0 ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Servers' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'server' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'server.png' ;
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Network' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'network' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'network.png' ;
2012-01-03 10:42:21 +00:00
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Wireless' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'wireless' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'wireless.png' ;
2010-07-30 17:07:34 +00:00
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Firewalls' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'firewall' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'firewall.png' ;
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Power' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'power' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'power.png' ;
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Environment' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'environment' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'environment.png' ;
2012-01-20 13:15:05 +00:00
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Load Balancers' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'loadbalancer' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'loadbalancer.png' ;
2010-07-30 17:07:34 +00:00
if ( isset ( $config [ 'enable_printers' ]) && $config [ 'enable_printers' ])
{
$i ++ ;
$config [ 'device_types' ][ $i ][ 'text' ] = 'Printers' ;
$config [ 'device_types' ][ $i ][ 'type' ] = 'printer' ;
$config [ 'device_types' ][ $i ][ 'icon' ] = 'printer.png' ;
}
2008-11-13 11:05:30 +00:00
##############################
# No changes below this line #
##############################
2011-05-05 13:04:38 +00:00
$config [ 'version' ] = "0.11.5.2245" ;
if ( file_exists ( '.svn/entries' ))
{
$svn = File ( '.svn/entries' );
$svn_rev = trim ( $svn [ 3 ]);
list ( $svn_date ) = explode ( "T" , trim ( $svn [ 9 ]));
list ( $svn_year , $svn_month , $svn_day ) = explode ( "-" , $svn_date );
$config [ 'version' ] = "0." . ( $svn_year - 2000 ) . "." . ( $svn_month + 0 ) . "." . $svn_rev ;
} else {
$config [ 'version' ] = $config [ 'version' ] . "." . $config [ 'release' ];
}
2008-11-13 11:05:30 +00:00
2011-03-15 15:41:57 +00:00
if ( isset ( $config [ 'rrdgraph_def_text' ]))
2010-08-21 14:02:24 +00:00
{
$config [ 'rrdgraph_def_text' ] = str_replace ( " " , " " , $config [ 'rrdgraph_def_text' ]);
$config [ 'rrd_opts_array' ] = explode ( " " , trim ( $config [ 'rrdgraph_def_text' ]));
}
2009-11-21 15:07:09 +00:00
2011-03-15 15:41:57 +00:00
if ( ! isset ( $config [ 'log_file' ]))
2010-07-26 20:28:31 +00:00
{
$config [ 'log_file' ] = $config [ 'install_dir' ] . "/observium.log" ;
}
2011-09-15 14:49:49 +00:00
if ( isset ( $config [ 'cdp_autocreate' ]))
{
$config [ 'dp_autocreate' ] = $config [ 'cdp_autocreate' ];
}
2011-03-15 15:41:57 +00:00
if ( ! isset ( $config [ 'mibdir' ]))
2010-07-02 19:58:13 +00:00
{
2012-03-26 13:34:49 +00:00
$config [ 'mibdir' ] = $config [ 'install_dir' ] . "/mibs" ;
2010-07-02 19:58:13 +00:00
}
2010-07-18 00:05:32 +00:00
$config [ 'mib_dir' ] = $config [ 'mibdir' ];
2010-07-02 19:58:13 +00:00
2010-02-28 02:20:05 +00:00
# If we're on SSL, let's properly detect it
2011-03-15 15:41:57 +00:00
if ( isset ( $_SERVER [ 'HTTPS' ]))
2010-08-21 14:02:24 +00:00
{
2010-02-28 02:20:05 +00:00
$config [ 'base_url' ] = preg_replace ( '/^http:/' , 'https:' , $config [ 'base_url' ]);
2009-04-29 22:04:13 +00:00
}
2008-11-13 11:05:30 +00:00
### Connect to database
2010-07-17 20:30:05 +00:00
$observium_link = mysql_pconnect ( $config [ 'db_host' ], $config [ 'db_user' ], $config [ 'db_pass' ]);
2011-03-12 08:50:47 +00:00
if ( ! $observium_link )
2010-08-21 14:02:24 +00:00
{
2010-11-20 14:04:07 +00:00
echo ( "<h2>Observer MySQL Error</h2>" );
echo ( mysql_error ());
2008-11-13 11:05:30 +00:00
die ;
}
2010-07-17 20:30:05 +00:00
$observium_db = mysql_select_db ( $config [ 'db_name' ], $observium_link );
2008-11-13 11:05:30 +00:00
2011-05-12 11:08:56 +00:00
#try {
# $db = new PDO('mysql:host='.$config['db_host'].';dbname='.$config['db_name'], $config['db_user'], $config['db_pass']);
#} catch (PDOException $e) {
# print "Error!: " . $e->getMessage() . "<br/>";
#}
2011-05-10 10:34:51 +00:00
2008-11-13 11:05:30 +00:00
# Set some times needed by loads of scripts (it's dynamic, so we do it here!)
2011-05-17 19:21:20 +00:00
## Please remove these where found replacing with $config['time']
2008-11-13 11:05:30 +00:00
$now = time ();
$day = time () - ( 24 * 60 * 60 );
$twoday = time () - ( 2 * 24 * 60 * 60 );
$week = time () - ( 7 * 24 * 60 * 60 );
$month = time () - ( 31 * 24 * 60 * 60 );
$year = time () - ( 365 * 24 * 60 * 60 );
2011-05-17 19:21:20 +00:00
$config [ 'time' ][ 'now' ] = time ();
$config [ 'time' ][ 'fourhour' ] = time () - ( 4 * 60 * 60 );
$config [ 'time' ][ 'sixhour' ] = time () - ( 6 * 60 * 60 );
$config [ 'time' ][ 'twelvehour' ] = time () - ( 12 * 60 * 60 );
$config [ 'time' ][ 'day' ] = time () - ( 24 * 60 * 60 );
$config [ 'time' ][ 'twoday' ] = time () - ( 2 * 24 * 60 * 60 );
$config [ 'time' ][ 'week' ] = time () - ( 7 * 24 * 60 * 60 );
$config [ 'time' ][ 'twoweek' ] = time () - ( 2 * 7 * 24 * 60 * 60 );
$config [ 'time' ][ 'month' ] = time () - ( 31 * 24 * 60 * 60 );
$config [ 'time' ][ 'twomonth' ] = time () - ( 2 * 31 * 24 * 60 * 60 );
$config [ 'time' ][ 'threemonth' ] = time () - ( 3 * 31 * 24 * 60 * 60 );
$config [ 'time' ][ 'sixmonth' ] = time () - ( 6 * 31 * 24 * 60 * 60 );
$config [ 'time' ][ 'year' ] = time () - ( 365 * 24 * 60 * 60 );
2011-09-04 21:50:48 +00:00
$config [ 'time' ][ 'twoyear' ] = time () - ( 2 * 365 * 24 * 60 * 60 );
2010-12-15 17:54:42 +00:00
# IPMI sensor type mappings
2011-05-09 08:18:30 +00:00
$config [ 'ipmi_unit' ][ 'Volts' ] = 'voltage' ;
$config [ 'ipmi_unit' ][ 'degrees C' ] = 'temperature' ;
$config [ 'ipmi_unit' ][ 'RPM' ] = 'fanspeed' ;
$config [ 'ipmi_unit' ][ 'Watts' ] = 'power' ;
$config [ 'ipmi_unit' ][ 'discrete' ] = '' ;
2010-05-02 23:24:47 +00:00
2011-03-26 17:41:48 +00:00
## INCLUDE THE VMWARE DEFINITION FILE.
require_once ( "vmware_guestid.inc.php" );
2011-04-20 10:02:42 +00:00
2011-03-21 14:36:44 +00:00
?>