Révision 37d65852
Plugin-Gallery: move to more specific categories
| plugins/bsd/freebsd_hdd_power_state | ||
|---|---|---|
| 50 | 50 |
graph_vlabel Power state |
| 51 | 51 |
graph_args --upper-limit 1 -l 0 |
| 52 | 52 |
graph_scale no |
| 53 |
graph_category disk
|
|
| 53 |
graph_category sensors
|
|
| 54 | 54 |
graph_info The power state of the hard disk drives on the system (1 is spun up, 0 is idle/standby). |
| 55 | 55 |
EOM |
| 56 | 56 |
echo $DEVICES | awk 'BEGIN{OFS=""} { for (i = 0; i++ < NF;) print "power", i, ".label ", $i }'
|
| plugins/openwrt/snmp__memory_openwrt | ||
|---|---|---|
| 73 | 73 |
print "graph_title Memory usage |
| 74 | 74 |
graph_args --base 1000 -l 0 |
| 75 | 75 |
graph_vlabel kB |
| 76 |
graph_category system
|
|
| 76 |
graph_category memory
|
|
| 77 | 77 |
graph_info This graph shows total and used memory on the host. |
| 78 | 78 |
memsize.label total |
| 79 | 79 |
memused.label used |
| plugins/snmp/snmp__cpu_usage | ||
|---|---|---|
| 140 | 140 |
print "graph_title CPU Usage on $host\n"; |
| 141 | 141 |
print "graph_args --base 1000 --lower-limit 0\n"; |
| 142 | 142 |
print "graph_vlabel Percentage on one minute\n"; |
| 143 |
print "graph_category system\n";
|
|
| 143 |
print "graph_category cpu\n";
|
|
| 144 | 144 |
print "graph_info This graph shows the CPU usage on one minute\n"; |
| 145 | 145 |
|
| 146 | 146 |
my $firstCounter = 1; |
| plugins/snmp/snmp__fn/snmp__fn | ||
|---|---|---|
| 114 | 114 |
echo "multigraph fn_cpu" |
| 115 | 115 |
echo "host_name $SNMPCLIENT" |
| 116 | 116 |
echo "graph_title $UNIT - CPU usage" |
| 117 |
echo 'graph_category system'
|
|
| 117 |
echo 'graph_category fw'
|
|
| 118 | 118 |
echo 'graph_vlabel %' |
| 119 | 119 |
echo 'graph_info This graph shows current CPU usage.' |
| 120 | 120 |
echo 'graph_args --base 1000 -r --lower-limit 0 --upper-limit 100' |
| ... | ... | |
| 125 | 125 |
echo "multigraph fn_memory" |
| 126 | 126 |
echo "host_name $SNMPCLIENT" |
| 127 | 127 |
echo "graph_title $UNIT - Memory usage" |
| 128 |
echo 'graph_category system'
|
|
| 128 |
echo 'graph_category fw'
|
|
| 129 | 129 |
echo 'graph_vlabel %' |
| 130 | 130 |
echo 'graph_info This graph shows current memory usage.' |
| 131 | 131 |
echo 'graph_args --base 1000 -r --lower-limit 0 --upper-limit 100' |
| ... | ... | |
| 136 | 136 |
echo "multigraph fn_sessions" |
| 137 | 137 |
echo "host_name $SNMPCLIENT" |
| 138 | 138 |
echo "graph_title $UNIT - Sessions" |
| 139 |
echo 'graph_category Other'
|
|
| 139 |
echo 'graph_category fw'
|
|
| 140 | 140 |
echo 'graph_vlabel Active Sessions' |
| 141 | 141 |
echo 'graph_info Active session count on the Fortigate firewall' |
| 142 | 142 |
echo 'fortisessions.label Sessions' |
| ... | ... | |
| 146 | 146 |
echo "multigraph fn_vpnsessions" |
| 147 | 147 |
echo "host_name $SNMPCLIENT" |
| 148 | 148 |
echo "graph_title $UNIT - SSLvpn Sessions" |
| 149 |
echo 'graph_category Other'
|
|
| 149 |
echo 'graph_category fw'
|
|
| 150 | 150 |
echo 'graph_vlabel Sessions/Users' |
| 151 | 151 |
echo 'graph_info Loged in users with SSLvpn (WebSession or Tunnel-Mode)' |
| 152 | 152 |
echo 'fortiuser.label Users' |
| plugins/solaris/solaris-memstat | ||
|---|---|---|
| 52 | 52 |
echo ' |
| 53 | 53 |
graph_args --base 1024 -l 0 --vertical-label Bytes |
| 54 | 54 |
graph_title Memory usage |
| 55 |
graph_category system
|
|
| 55 |
graph_category memory
|
|
| 56 | 56 |
graph_info This graph shows system memory use. |
| 57 | 57 |
graph_order kernel anon exec cacheused zfs cachefree free |
| 58 | 58 |
|
| plugins/synology/snmp__synology | ||
|---|---|---|
| 121 | 121 |
graph_title HDD temperatures on {hostname}
|
| 122 | 122 |
graph_vlabel Temperature in °C |
| 123 | 123 |
graph_args --base 1000 |
| 124 |
graph_category system
|
|
| 124 |
graph_category sensors
|
|
| 125 | 125 |
graph_info HDD temperatures on {hostname}""".format(hostname=self.hostname)
|
| 126 | 126 |
|
| 127 | 127 |
for id, name, model, temp in self._get_disks(): |
| ... | ... | |
| 136 | 136 |
graph_title System temperatures of {hostname}
|
| 137 | 137 |
graph_vlabel Temperature in °C |
| 138 | 138 |
graph_args --base 1000 |
| 139 |
graph_category system
|
|
| 139 |
graph_category sensors
|
|
| 140 | 140 |
graph_info System temperature of {hostname}
|
| 141 | 141 |
sys_temp.info System temperature |
| 142 | 142 |
sys_temp.label Temperature |
| plugins/system/ibmfan | ||
|---|---|---|
| 32 | 32 |
echo 'graph_args --base 1000 -l 0' |
| 33 | 33 |
echo 'graph_vlabel speed' |
| 34 | 34 |
echo 'graph_scale no' |
| 35 |
echo 'graph_category system'
|
|
| 35 |
echo 'graph_category sensors'
|
|
| 36 | 36 |
echo 'graph_info This graph shows the speed of the system fan.' |
| 37 | 37 |
echo 'fan.label speed' |
| 38 | 38 |
echo 'fan.info The current speed of the system fan.' |
| plugins/ups/snmp__ipoman_ | ||
|---|---|---|
| 217 | 217 |
print "graph_title Inlet $socketnumber voltage/frequency\n"; |
| 218 | 218 |
|
| 219 | 219 |
print "graph_args --base 1000 -l 0\n"; |
| 220 |
print "graph_category system\n";
|
|
| 220 |
print "graph_category sensors\n";
|
|
| 221 | 221 |
print "graph_info This graph shows the tension and frequency to inlet $socketnumber on the Power Distribution Unit\n"; |
| 222 | 222 |
|
| 223 | 223 |
print "voltage.label Tension (V)\n"; |
| ... | ... | |
| 233 | 233 |
print "graph_title Inlet $socketnumber current\n"; |
| 234 | 234 |
|
| 235 | 235 |
print "graph_args --base 1000 -l 0\n"; |
| 236 |
print "graph_category system\n";
|
|
| 236 |
print "graph_category sensors\n";
|
|
| 237 | 237 |
print "graph_info This graph shows the delivered current to inlet $socketnumber on the Power Distribution Unit\n"; |
| 238 | 238 |
|
| 239 | 239 |
print "current.label Current (A)\n"; |
| ... | ... | |
| 245 | 245 |
print "graph_title Inlet $socketnumber power\n"; |
| 246 | 246 |
|
| 247 | 247 |
print "graph_args --base 1000 -l 0\n"; |
| 248 |
print "graph_category system\n";
|
|
| 248 |
print "graph_category sensors\n";
|
|
| 249 | 249 |
print "graph_info This graph shows the delivered apparent and real power to inlet $socketnumber of the Power Distribution Unit\n"; |
| 250 | 250 |
|
| 251 | 251 |
print "apparentpower.label Apparent power (kVA)\n"; |
| ... | ... | |
| 262 | 262 |
print "graph_title Outlet $socketnumber current\n"; |
| 263 | 263 |
|
| 264 | 264 |
print "graph_args --base 1000 -l 0\n"; |
| 265 |
print "graph_category system\n";
|
|
| 265 |
print "graph_category sensors\n";
|
|
| 266 | 266 |
print "graph_info This graph shows the delivered current to outlet $socketnumber of the Power Distribution Unit\n"; |
| 267 | 267 |
|
| 268 | 268 |
print "current.label Delivered current (A)\n"; |
| ... | ... | |
| 273 | 273 |
print "graph_title Outlet $socketnumber power\n"; |
| 274 | 274 |
|
| 275 | 275 |
print "graph_args --base 1000 -l 0\n"; |
| 276 |
print "graph_category system\n";
|
|
| 276 |
print "graph_category sensors\n";
|
|
| 277 | 277 |
print "graph_info This graph shows the delivered apparent and real power to outlet $socketnumber of the Power Distribution Unit\n"; |
| 278 | 278 |
|
| 279 | 279 |
print "apparentpower.label Apparent power (kVA)\n"; |
Formats disponibles : Unified diff