Al,

In a separate email, this problem was resolved by fixing the following 3 
mis-configured parameters:
> PEF Alert Policy[1]: 01 10 11 00 Disabled    (10->18 to enable this PEF 
> policy)
> Lan Param(13) Def gateway MAC: 00 00 00 00 00 00   (set to the correct MAC)
> Lan Param(18) Dest type: 01 00 00 00 00      (dest disabled, should be 
> enabled)
With those fixed, he was able to make it work.

Andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Chu
Sent: Monday, December 03, 2007 11:46 AM
To: Андрей Судаков
Cc: freeipmi-devel@gnu.org
Subject: Re: [Freeipmi-devel] PEF alert policy

Hi, 

I don't know the ipmiutil output below.  If you can send the output of
pef-config, I might be able to see something that could be wrong in
that.

Al

On Mon, 2007-12-03 at 11:45 +0300, Андрей Судаков wrote:
> Hello!
> I try to set up BMC alerting - i want setup my host (IBM server) with
> FreeBSD to sent alert to my IBM Director's host via snmp.
> I try following utilities ftom ports: freeipmi anf ipmitool
> I can set IP adreess of BMC controller, netmask, gw, i can set IP
> adress of destination host and alert type to PET, but i can't set PEF
> alert policy. 
> 'ipmitool pef policy' in null
> I've try freeipmi - 'pef-config - o pef_file', setup policy in with
> file and load it to bmc controller via 'pef-config --commit -f
> pef_file', but nothing cange 
> How can i enable alert policy? May be i can use RAW?
> 
> This is my config, obtained via remote by pefconfig
> 
> pefconfig ver 2.4 
> Opening connection to node 172.16.9.91 ...
> Connected to node 172.16.9.91
> -- BMC version 1.27, IPMI version 2.0 
> 
> pefconfig: GetPefEntry ...
> PEFilter(01): 01 Temperature event - enabled for alert
> PEFilter(02): 07 BIOS event - enabled for alert 
> PEFilter(03): 08 Power Supply event - enabled for alert
> PEFilter(04): 08 Power Supply event - enabled for alert
> PEFilter(05): 02 Voltage event - enabled for alert
> PEFilter(06): 02 Voltage event - enabled for alert 
> PEFilter(07): 02 Voltage event - enabled for alert
> PEFilter(08): 1b Other event - enabled for alert
> PEFilter(09): ff Other event - enabled for alert
> PEFilter(10): empty
> PEFilter(11): 12 System Restart event - enabled for alert 
> PEFilter(12): 20 OS Critical Stop event - enabled for alert
> PEFilter(13): 09 Power Unit event - enabled for alert
> PEFilter(14): 09 Power Unit event - enabled for alert
> PEFilter(15): 09 Power Unit event - enabled for alert 
> PEFilter(16): 09 Power Unit event - enabled for alert
> GetPefEntry(6/17): completion code=c9
> GetPefEntry(17), ret = -1
> GetPefEntry(6/18): completion code=c9
> GetPefEntry(18), ret = -1
> GetPefEntry(6/19): completion code=c9 
> GetPefEntry(19), ret = -1
> GetPefEntry(6/20): completion code=c9
> GetPefEntry(20), ret = -1
> PEF Control: 03 PEFenable DoEventMsgs 
> PEF Actions: 0e PwrDn Reset PwrCyc 
> PEF Startup Delay: 60 sec
> PEF Alert Startup Delay: 60 sec 
> PEF Alert Policy[1]: 01 10 11 00 Disabled 
> PEF Alert Policy[2]: 02 00 00 00 Disabled 
> PEF Alert Policy[3]: 03 00 00 00 Disabled 
> PEF Alert Policy[4]: 04 00 00 00 Disabled 
> 
> pefconfig: GetLanEntry for channel 1 ... 
> Lan Param(0) Set in progress: 01 
> Lan Param(1) Auth type support: 17 None MD2 MD5 Pswd 
> Lan Param(2) Auth type enables: 17 17 17 17 00 
> Lan Param(3) IP address: 172 16 9 91 
> Lan Param(4) IP addr src: 01 Static 
> Lan Param(5) MAC addr: 00 14 5e f9 eb ef 
> Lan Param(6) Subnet mask: 255 255 0 0 
> Lan Param(7) IPv4 header: 40 40 10 
> Lan Param(10) BMC grat ARP : 03 
> Lan Param(11) grat ARP interval: 04 
> Lan Param(12) Def gateway IP: 172 16 0 1 
> Lan Param(13) Def gateway MAC: 00 00 00 00 00 00 
> Lan Param(14) Sec gateway IP: 0 0 0 0 
> Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00 
> Lan Param(16) Community string: public 
> Lan Param(17) Num dest: 04 
> Lan Param(18) Dest type: 01 00 00 00 00 
> Lan Param(18) Dest type: 02 00 00 00 00 
> Lan Param(18) Dest type: 03 80 00 00 00 
> Lan Param(18) Dest type: 04 00 00 00 00 
> Lan Param(19) Dest address: 01 00 00 [172 16 6 248] 00 1b fc a3 d0 27 
> Lan Param(19) Dest address: 02 00 00 [172 16 6 248] ff ff ff ff ff ff 
> Lan Param(19) Dest address: 03 00 00 [0 0 0 0] ff ff ff ff ff ff 
> Lan Param(19) Dest address: 04 00 00 [0 0 0 0] ff ff ff ff ff ff 
> GetLanEntry: completion code=80 
> GetLanEntry(192), ret = -1
> GetLanEntry: completion code=80
> GetLanEntry(193), ret = -1
> GetLanEntry: completion code=80
> GetLanEntry(194), ret = -1
> GetChanAcc(lan), ret = 0, new value = 02
> Access = Always Avail, PEF Alerts Enabled 
> Channel Access Mode(Lan): 02 04 
> GetSOL for channel 1 ...
> SOL Enable: 01 enabled
> SOL Auth: 82 User 
> SOL Accum Interval: 1e c8 150 msec
> SOL Retry Interval: 07 30 480 msec
> SOL nvol Baud Rate: 07 19.2k 
> SOL vol Baud Rate: 07 19.2k
> SOL Payload Access(1,1): 00 00 00 00 disabled
> SOL Payload Support(1): 03 00 3f 00 00 00 00 00 
> Get User Access(1): 04 04 01 34 IPMI, Admin ()
> Get User Access(2): 04 04 01 34 IPMI, Admin (USERID) 
> Get User Access(3): 04 04 01 13 IPMI, Operator (operator)
> Get User Access(4): 04 04 01 14 IPMI, Admin (admin)
> pefconfig: completed successfully
> 
> _______________________________________________
> Freeipmi-devel mailing list
> Freeipmi-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/freeipmi-devel
-- 
Albert Chu
[EMAIL PROTECTED]
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to