From: Taylor L. <tl...@tr...> - 2010-11-26 14:40:38
|
Also, as a second unrelated issue, believe we (another guy I work with) found an error in the Math Transform that was causing devmon to crash... /usr/local/devmon/modules # diff dm_templates.pm.bak dm_templates.pm 537c537 < $temp =~ s/\{\s*\S+?\s*\}|\s|x|\+|\/|-|^|\d+(\.\d*)?|\(|\)\s*//g; --- > $temp =~ s/\{\s*\S+?\s*\}|\s|x|\+|\/|-|\^|\d+(\.\d*)?|\(|\)\s*//g; FYI, here is the diff that fixes exponentiation in the MATH transform: (had to escape the ^, so it would be seen as a literal '^' instead of a start of line delimiter) This is in the logic that checks the format of the transform, not the logic that does the transform (which apparently works fine) From: Taylor Lewick Sent: Friday, November 26, 2010 8:15 AM To: 'dev...@li...' Subject: devmon 0.3.1-beta1 goes purple, error message We upgraded xymon to run 4.3.0-0.beta2 from hobbit 4.2.3 In so doing, we also upgraded devmon to devmon 0.3.1-beta1. So far everything with xymon works great, and devmon works as expected, except it goes purple quite often. This last time it happened, we received the following error message: Can't use an undefined value as a HASH reference at /usr/local/devmon/modules/dm_snmp.pm line 405, <$__ANONIO__> line 40712. Looked at dm_snmp.pm and we can't really make too much sense of whats going on here. Is this helpful at all to tracking down the devmon goes purple problem? FYI, in our older version of devemon 0.3.0-rc1, it never goes purple, so was hoping to avoid rolling back to that version if possible. Thanks in advance for any help., Taylor |