Author Topic: FreeIpmi integration  (Read 2918 times)

aron

  • Newbie
  • *
  • Posts: 40
    • View Profile
FreeIpmi integration
« 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.

Code: [Select]
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

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7140
    • View Profile
Re: FreeIpmi integration
« Reply #1 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

Anders

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: FreeIpmi integration
« Reply #2 on: January 10, 2014, 09:24:31 am »
This would be a nice feature, most of our machines are IPMI-capable.

Dani@M3T

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: FreeIpmi integration
« Reply #3 on: January 10, 2014, 10:55:05 am »
+1