Hola muy buenos días estimados.

En el dia de hoy les quiero compartir una problemática que tengo con mi
Cacti al tratar de monitorear una UPS, he desarrollado mis archivos XML
para que por protocolo SNMP pueda leer la información que me envían los
MIBS de mi Dispositivo UPS.

Esto funciona de maravilla porque al accionar Verbose Query me devuel ve la
información en el Degubber de Cacti para mi dispositivo UPS.

Pero no puedo crear mis graficas para este dispositivo porque me doy cuenta
que para los 4 XML creados me aparece:

Get UPS Battery Information - Success [0 Items, 0 Rows]
Get UPS Bypass Information - Success [0 Items, 0 Rows]
Get UPS Inputs Information    - Success [0 Items, 0 Rows]
Get UPS Inputs Information  - Success [0 Items, 0 Rows]

Esto quiere decir que no tendre ningún ítem para procesar y luego mostrar
en mi grafico CACTI.

Les muestro el Data Query Debug Information de cada uno de los XML
(DataQueries) creados:

Get UPS Battery Information

+ Running data query [10].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at
'/usr/share/cacti/site/resource/snmp_queries/ups_dc_colcard.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.33.1.2' Index
Count: 2
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.33.1.2' Index
Count: 6
+ Index found at OID: 'iso.3.6.1.2.1.33.1.2.1.0' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.2.2.0' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.2.3.0' value: '81'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.2.4.0' value: '100'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.2.5.0' value: '2716'
+ Index found at OID: '' value: ''

Get UPS Bypass Information

+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at
'/usr/share/cacti/site/resource/snmp_queries/ups_dc_colcard_bypass.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.33.1.5' Index
Count: 600
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.33.1.5' Index
Count: 14
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.1.0' value: '600'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.2.0' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.1.1' value: '1'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.1.2' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.1.3' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.2.1' value: '125'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.2.2' value: '125'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.2.3' value: '126'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.3.1' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.3.2' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.3.3' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.4.1' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.4.2' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.5.3.1.4.3' value: '0'

Get UPS Inputs Information

+ Running data query [12].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at
'/usr/share/cacti/site/resource/snmp_queries/ups_dc_colcard_inputs.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.33.1.3' Index
Count: 0
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.33.1.3' Index
Count: 11
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.1.0' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.2.0' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.1.1' value: '1'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.1.2' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.1.3' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.2.1' value: '600'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.2.2' value: '600'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.2.3' value: '600'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.3.1' value: '124'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.3.2' value: '126'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.3.3.1.3.3' value: '126'

Get UPS Outputs Information

+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at
'/usr/share/cacti/site/resource/snmp_queries/ups_dc_colcard_outputs.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.33.1.4' Index
Count: 3
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.33.1.4' Index
Count: 18
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.1.0' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.2.0' value: '600'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.3.0' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.1.1' value: '1'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.1.2' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.1.3' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.2.1' value: '121'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.2.2' value: '121'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.2.3' value: '121'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.3.1' value: '61'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.3.2' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.3.3' value: '76'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.4.1' value: '714'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.4.2' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.4.3' value: '897'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.5.1' value: '7'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.5.2' value: '0'
+ Index found at OID: 'iso.3.6.1.2.1.33.1.4.4.1.5.3' value: '9'


*Información adicional*
Linux Ubuntu 14.04.05
Cacti: Version 0.8.8b
MySql: Versión 14.14 Distrib 5.5.53
Php: Versión 5.5.9-1ubuntu4.20
Apache: Versión 2.4.7 Ubuntu
*Ing. Jiliar Antonio Silgado Cardona*
Ingeniero de Sistemas de Información
Administrador de Empresas en formación.
*Cel: 301 673-3590 Tel: 6436208*
www.twitter.com/jiansystyle <jasc_f...@hotmail.com>
www.launchpad.net/~jiansystyle14
<https://wiki.ubuntu.com/jiansystyle14>wiki.ubuntu.com/jiansystyle14
*"Creatividad e Ingenio, Con Temor a Dios y Sin Miedo al Hombre"* .
-- 
Al escribir recuerde observar la etiqueta (normas) de esta lista: 
http://goo.gl/Pu0ke
Para cambiar su inscripción, vaya a "Cambio de opciones" en http://goo.gl/Nevnx

Responder a