-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yah, I know that this regex works fine on some pcs, as I have it working
on 4 servers. It doesn't work well only one of the servers.
Oh, well, have to revise my regular expression skills.
- --
Andrei Mikhailovsky
Arhont Ltd - Information Security
Web: http://www.arhont.com
~ http://www.wi-foo.com
Tel: +44 (0)870 4431337
Fax: +44 (0)117 9690141
PGP: Key ID - 0xFF67A4F4
PGP: Server - keyserver.pgp.com
michael@... wrote:
| I checked another box and it has the same regex line as what you have
from munin
| 1.0 and it works fine. My output from sensors on that box is:
| SYS Temp: +36.4 C (high = +45 C, hyst = +40 C)
| CPU Temp: +34.6 C (high = +60 C, hyst = +55 C)
| SBr Temp: +26.4 C (high = +65 C, hyst = +60 C)
|
| I'll bet it has something to do with the fact that your first temperature
| doesn't have a decimal point in it (+57C) Unfortunately, I'm not a
perl guru
| so I don't fully understand the syntax of the regex line.
|
| Maybe some of the perl gurus on the list can help you out.
|
| Alt
|
|
|
| Quoting Andrei Mikhailovsky <andrei@...>:
|
|
| Hi,
|
| I've tried that before, but it didn't work. Here is the temp regex from
| sensors_ plugin that came with munin 1.0:
| regex => qr/^([^:]*)\s*:\s+\+?(\d+(?:\.\d+)?)[° ]C.*?(\d+(?:\.\d+)?)[°
| ]C.*?(\d+(?:\.\d+)?)[° ]C/m,
|
| I've also tried removing [° ] bit, as in my sensors output there is no °
| symbol. But it didn't solve the problem ((
|
| Any other suggestions?
|
| Thanks for the help
|
|
| Andrei Mikhailovsky
|
|
|
| M. Alton Jensen wrote:
| | Andrei,
| | Check the regex line for temp in the plugin:
| | regex => qr/^([^:]*)\s*:\s+\+?(\d+\.\d+)°C.*?(\d+)°C.*?(\d+)°C/m,
| |
| | If I remember correctly, I had to remove the  to get it working
| correctly on
| | one of my machines.
| |
| | Alt
| |
| |
| | Quoting Andrei Mikhailovsky <andrei@...>:
| |
| |
| | Hello,
| |
| | I've setup munin-node on one of my gentoo servers and i can't make
| | sensors_temp to work. Bothe _volt and _fan are working fine, but the
| | temperature one refuses to work.
| |
| | here is the output of the sensors command:
| |
| | w83782d-i2c-0-29
| | Adapter: SMBus PIIX4 adapter at 0580
| | VCore 1: +1.54 V (min = +2.10 V, max = +2.50 V)
| | VCore 2: +1.26 V (min = +2.10 V, max = +2.50 V)
| | +3.3V: +3.41 V (min = +2.82 V, max = +3.79 V)
| | +5V: +5.08 V (min = +3.71 V, max = +4.57 V)
| | +12V: +12.40 V (min = +4.01 V, max = +11.67 V)
| | -12V: -0.93 V (min = +0.96 V, max = -9.65 V)
| | -5V: +3.14 V (min = -0.88 V, max = -6.86 V)
| | V5SB: +5.24 V (min = +1.72 V, max = +0.54 V)
| | VBat: +0.78 V (min = +0.61 V, max = +2.06 V)
| | fan1: 5869 RPM (min = 9375 RPM, div = 2)
| | SYS Temp: +57C (high = +2C, hyst = +32C) sensor = PII/Celeron
| | diode
| | CPU Temp: +32.0C (high = +80C, hyst = +75C) sensor = PII/Celeron
| | diode
| | vid: +3.500 V
| | alarms: Chassis intrusion detection ALARM
| | beep_enable:
| | ~ Sound alarm disabled
| |
| | Does anyone know how to fix it?
| |
| | Thanks for any help
| |
|
| -------------------------------------------------------
| This SF.Net email sponsored by Black Hat Briefings & Training.
| Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
| digital self defense, top technical experts, no vendor pitches,
| unmatched networking opportunities. Visit http://www.blackhat.com
| _______________________________________________
| munin-users mailing list
| munin-users@...
| https://lists.sourceforge.net/lists/listinfo/munin-users
|
|
|
- -------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit http://www.blackhat.com
_______________________________________________
munin-users mailing list
munin-users@...
https://lists.sourceforge.net/lists/listinfo/munin-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA3AuA5bSBOf9npPQRAjTlAJ9RI/CcqI/3e/GOXKTiSTQ9AotuAQCdEo8o
IL8FXu9MjsvxjFWIovSG1Zo=
=LLAO
-----END PGP SIGNATURE-----
|