Hi,

I tested it and it works great, you just forget in your first post to
specify the creation of the poller items :

+-------+--------------+------------------------+-------------+--------------------------------------------------------+
| id    | name         | description            |
command     | parameters
                                             |
+-------+--------------+------------------------+-------------+--------------------------------------------------------+
| 10002 | power_status | Compaq Power Condition | snmp_status |
.1.3.6.1.4.1.232.6.2.9.3.1.4.<chassis>.<bayindex>,2=up |
+-------+--------------+------------------------+-------------+--------------------------------------------------------+

And in the cpqmib.inc.php, near line 53-62, for the location name, we can do :

'location' => get_fan_location($location[$key]),

instead of declare the variable  
$locname=get_fan_location($location[$key]) and then 'location' =>  
$locname,

Javier or Craig, can you include the new config.inc.php and the new  
poller item/type/grouping in next release ?

Pierre-Damien

>
>
> The file cpqmib.inc.php that I sent was not the good one (an error
was
inserted inside the fan section), please use this one instead to
test.
>
>
>   _______________
> David LIMA
> Professional Services
> www.scc.com
>
>
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] De la part de
LIMA
David
> Envoyé : mardi 31 octobre 2006 17:21
> À : jffnms-users@lists.sourceforge.net
> Objet : [jffnms-users] CPQMIB: power supply interface type added
>
> Hi,
>
> I've just extended the Compaq CPQMIB interface type to support by
adding
power supply status check.
> The new discovery script and steps to extend CPQMIB interface are
attached
>
> Cheers
>
>   _______________
> David LIMA
> Professional Services
> www.scc.com
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to