mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
discovery/processors-ucd-old: add quotes, patch by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1803 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
31
INSTALL
31
INSTALL
@@ -1,12 +1,11 @@
|
|||||||
Unfortunately this documentation hasn't been written yet.
|
Please see http://www.observium.org for up to date installation instructions.
|
||||||
|
|
||||||
Please see http://www.observium.org for installation instructions.
|
Please also contact us through the mailing list or on IRC if you run into any issues.
|
||||||
|
|
||||||
Please also contact me via adama@memetic.org if you run in to any issues.
|
|
||||||
|
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Some notes about how to set up your systems, as there are no real other docs:
|
Some notes about how to set up your systems, which have not found their way
|
||||||
|
onto the wiki just yet:
|
||||||
|
|
||||||
Customer port parsing
|
Customer port parsing
|
||||||
=====================
|
=====================
|
||||||
@@ -23,25 +22,3 @@ Set your port description to:
|
|||||||
Transit: whateveryoulike
|
Transit: whateveryoulike
|
||||||
Peering: whateveryoulike
|
Peering: whateveryoulike
|
||||||
Core: whateveryoulike
|
Core: whateveryoulike
|
||||||
|
|
||||||
LM-Sensors setup
|
|
||||||
================
|
|
||||||
|
|
||||||
For lm-sensors/net-snmp to put your temperatures in the "Temp" group (as
|
|
||||||
opposed to the "Misc" group, their name needs to start with "temp"; for
|
|
||||||
Observium to see the interface the name should start with "temp-" (i.e.
|
|
||||||
temp-CPU, temp-System). You can change this in /etc/sensors.conf - change
|
|
||||||
the label descriptions if necessary, under your specific chipset block.
|
|
||||||
|
|
||||||
Papouch TME
|
|
||||||
===========
|
|
||||||
|
|
||||||
Set your thermometer name (Option 1->0 in the telnet CLI) to the sensor name
|
|
||||||
you want displayed in Observer. (Also, the TME only speaks SNMP v1)
|
|
||||||
|
|
||||||
Supermicro monitoring
|
|
||||||
=====================
|
|
||||||
|
|
||||||
On Supermicro motherboards, install Superodoctor on your system and put the
|
|
||||||
extend line into your snmpd.conf as instructed to enable SNMP readouts of
|
|
||||||
sensor values.
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ if($device['os_group'] == "unix" && $count == "0")
|
|||||||
$percent = $system + $user + $idle;
|
$percent = $system + $user + $idle;
|
||||||
|
|
||||||
if(is_numeric($percent)) {
|
if(is_numeric($percent)) {
|
||||||
discover_processor($valid_processor, $device, 0, 0, "ucd-old", CPU, "1", $system+$user, NULL, NULL);
|
discover_processor($valid_processor, $device, 0, 0, "ucd-old", "CPU", "1", $system+$user, NULL, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user