From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2006-03-22 16:54:31
|
Hi All, I am working on creating a template for Compaq/HP Insight Manager. All Compaq/HP servers run the insight manager health agents, and you can pull some really nice information from them. But I have run into some problems: 1. devmon doesn't like my templates at all. I believe I have setup all my branches correctly, and my table looks loverly... But when I run devmon I see the following: -bash-2.05b$ ./devmon -vvvvv -f [06-03-22@11:48:52] Nodename autodetected as SERVERNAME [06-03-22@11:48:52] ---Initilizing devmon... [06-03-22@11:48:52] Verbosity level: 5 [06-03-22@11:48:52] Logging to /home/bb4s/bb/devmon.log [06-03-22@11:48:52] Node 0 reporting to BBDISP.DOMAIN.COM [06-03-22@11:48:52] Running under process id: 16015 [06-03-22@11:48:52] Entering poll loop [06-03-22@11:48:52] Starting snmp queries [06-03-22@11:48:52] Querying HPSERVER.DOMAIN.COM for tests array,iml [06-03-22@11:49:07] Performing test logic Can't use string ("green") as a HASH ref while "strict refs" in use at /data/BB/devmon-dev/modules/dm_tests.pm line 1427, <$__ANONIO__> line 957. Now my solution was to edit modules/dm_tests.pm and comment out " use strict;". Not a real fix, but after I do that, my templates are displayed and tables are right. So I believe it is a devmon code issue and not me writing a fault template. I have attached my template so far, for your review. 2. When polling data from the Integrate Management Log (IML), You can get the date of the Event. Now somebody in their infinite wisdom decided to offer this data in the form of HEX. I thought maybe I could pull the bits (year, month, day) apart using the REGSUB transform option. But I wanted to see exactly the raw data given to devmon. When I add that OID alias to my message file, anything after that HEX Code alias, is not shown. Do not believe any errors are being displayed in the devmon log. |