NetXMS Support Forum

English Support => General Support => Topic started by: aron on January 02, 2014, 01:14:42 PM

Title: FreeIpmi integration
Post by: aron on January 02, 2014, 01:14:42 PM
Hello

I have been trying to think of effective solutions for integration of IPMI into NetXms for effective Management and alarming. Obtaining the information can be done fairly effectively with FreeIPMI.

ubuntu:~$ ipmi-sensors --hostname=10.10.10.10 --username=user --password=password  -D LAN_2_0 -b --comma-separated-output -q
ID,Name,Type,Event
1,UID Light,OEM Reserved,'OEM Event = 0000h'
2,Int. Health LED,OEM Reserved,'OEM Event = 0000h'
3,Ext. Health LED,OEM Reserved,'OEM Event = 0000h'
4,Power Supply 1,Power Supply,'Presence detected'
5,Power Supply 2,Power Supply,'Presence detected'
6,Power Supplies,Power Supply,'Fully Redundant'
8,VRM 1,Power Unit,'Device Inserted/Device Present'
9,VRM 2,Power Unit,'Device Inserted/Device Present'
10,Fan Block 1,Fan,'transition to Running'
11,Fan Block 2,Fan,'transition to Running'
12,Fan Block 3,Fan,'transition to Running'
13,Fan Blocks,Fan,'Fully Redundant'
15,Temp 1,Temperature,'OK'
16,Temp 2,Temperature,'OK'
17,Temp 3,Temperature,'OK'
18,Temp 4,Temperature,'OK'
19,Temp 5,Temperature,'OK'
20,Temp 6,Temperature,'OK'
21,Temp 7,Temperature,'OK'
22,Power Meter,Current,'Device Enabled'


However getting the information into netxms effectively is where I am drawing a blank. My preferred approach would be run as an ExternalCommand, but instead of the information returning a singular value the output would be consumed into the new Table functionality. This would allow for scripting to dynamically query the information and alarm as required.

However I am not sure if there is another/easier way to achieve the same goals?

Regards

Aron
Title: Re: FreeIpmi integration
Post by: Victor Kirhenshtein on January 02, 2014, 03:30:49 PM
Hi!

Most correct way would be to add IPMI support to NetXMS server, so it can query IPMI directly and allow easy configuration of IPMI based DCIs. I'll check if this will require significant development effort.

Best regards,
Victor
Title: Re: FreeIpmi integration
Post by: Anders on January 10, 2014, 09:24:31 AM
This would be a nice feature, most of our machines are IPMI-capable.
Title: Re: FreeIpmi integration
Post by: Dani@M3T on January 10, 2014, 10:55:05 AM
+1