From: Tom G. <to...@mc...> - 2007-06-07 14:22:37
|
Asif Iqbal wrote: >> > I can try and help. You will need NCV, but its not much of a trick to >> > get NCV configured. Post an example for one of the messages that are >> > displayed under the fans column and I can try to help get you started. > Here are some texts related to that fan column > > [07-06-07@08:20:20] Sending messages to display server > status svcs-01,inet,net.cpu green Thu Jun 7 08:20:13 2007 > > > &green : Up for 105 days, 02:00:26 > &green : Last reboot due to power-on > &green : CPU usage: 9% > > System description: > Cisco Internetwork Operating System Software > IOS (tm) c6sup2_rp Software (c6sup2_rp-PK2S-M), Version 12.1(20)E3, EARLY > DEPLOYMENT RELEASE SOFTWARE (fc1) > Technical Support: http://www.cisco.com/techsupport > Copyright (c) 1986-2004 by cisco Systems, Inc. > > > Devmon version 0.3.0 running on hobbit > > status svcs-01,inet,net.fans green Thu Jun 7 08:20:13 2007 > > Alarming on (Power Supply 1 Fan,Power Supply 2 Fan,Chassis Fan Tray 1) > <table border=1 cellpadding=5> > <tr><td>Fan location</td><td>Fan state</td></tr> > <tr><td>Power Supply 1 Fan</td><td>&green normal</td></tr> > <tr><td>Power Supply 2 Fan</td><td>&green normal</td></tr> > <tr><td>Chassis Fan Tray 1</td><td>&green normal</td></tr> > </table> The message file that generates this output is going to have to be changed if you want NCV to collect and graph the data. Output should be in NCV form (name : data), otherwise it won't work. That message has colons throughout, as well as html tags and whatnot. Here's an example that does work with NCV. It's for the blowers in my IBM Bladecenter chassis. The graph that goes with this test shows the % utilization of each blower, which is 56% in this case. Notice that the NCVs are at the bottom of the report, separated by new lines, and the message texts are at the top and do not use colons. ===================== Blower health state ------------------- green Blower 1 health state is GOOD (1) green Blower 2 health state is GOOD (1) Blower fan speed (%) ---------------- blower1: 56 blower2: 56 =================== -- Tom Georgoulias Systems Engineer McClatchy Interactive to...@mc... |