Skip to contentSkip to conversation

Parsing bug in sensord(8) (fwd)

DISCUSSION [email protected] 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw

Richard Gooch wrote:
From [email protected] Mon Jul 29 03:40:04 2002
Received: by morannon.frodo.local (8.11.3/8.11.3) id g6T1e4k14669 ; Mon, 29 Jul 2002 03:40:04 +0200
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.121]

	by localhost with POP3 (fetchmail-5.4.4)
	for frodo@localhost (single-drop); Mon, 29 Jul 2002 03:40:04 +0200 (CEST)

Received: (qmail 29283 invoked from network); 29 Jul 2002 01:21:17 -0000
Received: from unknown (HELO vindaloo.ras.ucalgary.ca) ([136.159.55.21]) (envelope-sender <[email protected]>)
by arkanoid.cybercomm.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 29 Jul 2002 01:21:17 -0000
Received: (from rgooch@localhost)

	by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g6T1ZbO04727;
	Sun, 28 Jul 2002 19:35:37 -0600

Date: Sun, 28 Jul 2002 19:35:37 -0600
Message-Id: <[email protected]>
From: Richard Gooch <[email protected]>
To: Merlin Hughes <[email protected]>
Cc: Frodo Looijaard <[email protected]>
Subject: Parsing bug in sensord(8)
X-Loop-Procmail: PreventLoop

Hi, guys. I'm trying to use sensord(8) to maintain a RR database.
It's working fine on two machines, but on another machine I get the following error in my syslog:

sensord: Error creating RRD file: /var/log/sensord.rrd: can't parse argument 'DS:2.0V:GAUGE:300:U:U'

I suspect the cause of this is that the "raw" feature names that the motherboard provides are not simple ones like "in0", but instead are things like "2.0V". Perhaps the '.' is confusing the parser in sensord(8)?

				Regards,

					Richard....
Permanent: [email protected]
Current:   [email protected]
Signature · 4 lines
Frodo Looijaard <[email protected]>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.