Hi Johan, 
 
I didn't try the patch from David yet, my mail was about another problem; 
getting my own Informant Advanced agent counters in jffnms.
 
Regards, 
 
Sebastian
 

________________________________

Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 1 februari 2008 21:45
Aan: Dijk, Sebastian van
CC: LIMA David; jffnms-users@lists.sourceforge.net; [EMAIL PROTECTED]
Onderwerp: Re: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server, DS4XXX 
Storage Controlers, Generic FC/SAN MIB



Dijk, 

Did the patch work for you  ? I try to patch it, and always receive error 

Warning: Invalid argument supplied for foreach() in 
/opt/jffnms/docs/utils/import_custom.php on line 95 

Warning: Invalid argument supplied for foreach() in 
/opt/jffnms/docs/utils/import_custom.php on line 140 

How did you patch it ? 

greetz, 
Johan 




"Dijk, Sebastian van" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

02/01/2008 03:55 PM 

To
<jffnms-users@lists.sourceforge.net> 
cc
LIMA David <[EMAIL PROTECTED]> 
Subject
Re: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,        DS4XXX Storage 
Controlers, Generic FC/SAN MIB

        




Hi David, 

Solved the problem.

1. The graph scripts got corrupted while cutting and pasting into a shell.

2. And 1 or 2 poller names where too long. I don't know if somewhere is 
mentioned a maximum size for pollernames ?

However, i found a nice way to debug the stuff : 

In the graph scripts just enter 1 line before the "return" of results the 
following ;

echo "<pre>" 
print_r (array ($opts_header, @array_merge($opts_DEF,$opts_GRAPH)));
echo "</pre>" 

This will print the array as being used by JFFNMS.

Regards, 

Sebastian

-----Oorspronkelijk bericht-----
Van: LIMA David [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 29 januari 2008 14:27
Aan: Dijk, Sebastian van
Onderwerp: RE: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,DS4XXX 
Storage Controlers, Generic FC/SAN MIB

Can you also please do

rrdtool fetch interface-XXXXX.rrd AVERAGE -s end-30min

you can debug things only adding debug($data) inside the graph script for you 
interface that does not work



   _______________
David LIMA
Professional Services
www.scc.com


-----Message d'origine-----
De : Dijk, Sebastian van [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 janvier 2008 13:09
À : LIMA David
Objet : RE: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,DS4XXX Storage 
Controlers, Generic FC/SAN MIB

Hi David, 

I hope you don't mind me bothering you with our troubles, but when i run the 
rrdtool info on the generated RRDfiles i get the output below. 
Could you also point me in a direction how to debug graph scripts ? I am not in 
PHP actually, i always copy a file and try to modify it.

Regards, 

Sebastian

jffnms:/opt/jffnms/rrd# rrdtool info interface-1889-0.rrd

filename = "interface-1889-0.rrd"
rrd_version = "0003"
step = 300
last_update = 1201608087
ds[data].type = "GAUGE"
ds[data].minimal_heartbeat = 600
ds[data].min = 0.0000000000e+00
ds[data].max = 1.0000000000e+04
ds[data].last_ds = "UNKN"
ds[data].value = 0.0000000000e+00
ds[data].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 103680
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0

jffnms:/opt/jffnms/rrd# rrdtool info interface-1890-0.rrd filename = 
"interface-1890-0.rrd"
rrd_version = "0003"
step = 300
last_update = 1201608087
ds[data].type = "GAUGE"
ds[data].minimal_heartbeat = 600
ds[data].min = 0.0000000000e+00
ds[data].max = 1.0000000000e+04
ds[data].last_ds = "UNKN"
ds[data].value = 0.0000000000e+00
ds[data].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 103680
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0

jffnms:/opt/jffnms/rrd# rrdtool info interface-1891-0.rrd filename = 
"interface-1891-0.rrd"
rrd_version = "0003"
step = 300
last_update = 1201608087
ds[data].type = "GAUGE"
ds[data].minimal_heartbeat = 600
ds[data].min = 0.0000000000e+00
ds[data].max = 1.0000000000e+04
ds[data].last_ds = "UNKN"
ds[data].value = 0.0000000000e+00
ds[data].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 103680
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0

jffnms:/opt/jffnms/rrd# rrdtool info interface-1892-0.rrd filename = 
"interface-1892-0.rrd"
rrd_version = "0003"
step = 300
last_update = 1201608087
ds[data].type = "GAUGE"
ds[data].minimal_heartbeat = 600
ds[data].min = 0.0000000000e+00
ds[data].max = 1.0000000000e+04
ds[data].last_ds = "UNKN"
ds[data].value = 0.0000000000e+00
ds[data].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 103680
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0 


Met vriendelijke groet, 


Sebastian van Dijk



-----Oorspronkelijk bericht-----
Van: LIMA David [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 29 januari 2008 12:23
Aan: Dijk, Sebastian van
Onderwerp: RE: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,DS4XXX 
Storage Controlers, Generic FC/SAN MIB


Hi Sebastian, can you try to debug things inside the graph php script for you 
counter if you are sure that the rrd are populated (you can also verify with 
rrdtool info $file) add some debug() inside.

Cheers
   _______________
David LIMA
Professional Services
www.scc.com


-----Message d'origine-----
De : Dijk, Sebastian van [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 janvier 2008 09:55
À : LIMA David; jffnms-users@lists.sourceforge.net
Objet : RE: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,DS4XXX Storage 
Controlers, Generic FC/SAN MIB

Hi David, 

Great work !! Although we do not use IBM, we do use a SAN :) Good to see this 
mailinglist alive !

Another question, are you prepaired to have a look at my problem as posted 
before with some informant 64 counters ?
And if so, we are willing to make some arrangement or something ?

Regards, 

Sebastian



-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens LIMA David
Verzonden: dinsdag 29 januari 2008 8:51
Aan: jffnms-users@lists.sourceforge.net
CC: [EMAIL PROTECTED]
Onderwerp: [jffnms-users] JFFNMS Plugins: IBM Blade, IBM Server,DS4XXX Storage 
Controlers, Generic FC/SAN MIB

Hi List, 

Here are some plugins that I have devel for JFFNMS, i have exported them with 
export_custom.php script inside jffnms_path/docs/util, try to import them 
carefully with import_custom script.

IBM Blade: the poller catches Hardware informations like serial number, model 
... and the status for each blade server and temperature + the power 
consumption of the blade IBM Server: poll the status of every hardware inside 
IBM based server:
raid card, network, cpu, disks, etc ... you must install director agent IBM 
DS4XXX  Controlers: you must install DSCLI for Linux on jffnms and tunes some 
rights, the poller is pretty simple but it controls every component inside the 
controler: FAN, Canister, Temperature, Fibre, Disks, Arrays, Power etc ... 
Generic FC MIB: control the status and speed of FC interfaces (based on Public 
FC MIB).


Hope that helps, if something is missing, tell me, if someone wants to cleanup, 
improve or extend the code ... you are welcome.

_______________
David LIMA
Professional Services
www.scc.com



______________________________________________________________________
Ce message contient des informations dont le contenu est susceptible d'etre 
confidentiel.
Il est destine au(x) destinataire(s) indique(s) exclusivement.

A moins que vous ne fassiez partie de la liste des destinataires, ou que vous 
soyez habilite a recevoir le mail a leur place, il vous est interdit de le 
copier, de l'utiliser ou de devoiler son contenu a un tiers.

Si vous avez recu cet email par erreur, merci de prendre contact avec 
l'emetteur.

Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne 
refletent pas necessairement celles de l'entreprise.

Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir 
des virus qui pourraient endommager votre systeme informatique.

La compagnie a pris toutes dispositions afin de minimiser ce risque et decline 
toute responsabilite pour toute perte ou dommage resultant directement ou 
indirectement de l'utilisation de cet email ou de son contenu.

Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir 
la ou les pieces jointes.
______________________________________________________________________


______________________________________________________________________
Ce message contient des informations dont le contenu est susceptible d'etre 
confidentiel.
Il est destine au(x) destinataire(s) indique(s) exclusivement.

A moins que vous ne fassiez partie de la liste des destinataires, ou que vous 
soyez habilite a recevoir le mail a leur place, il vous est interdit de le 
copier, de l'utiliser ou de devoiler son contenu a un tiers.

Si vous avez recu cet email par erreur, merci de prendre contact avec 
l'emetteur.

Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne 
refletent pas necessairement celles de l'entreprise.

Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir 
des virus qui pourraient endommager votre systeme informatique.

La compagnie a pris toutes dispositions afin de minimiser ce risque et decline 
toute responsabilite pour toute perte ou dommage resultant directement ou 
indirectement de l'utilisation de cet email ou de son contenu.

Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir 
la ou les pieces jointes.
______________________________________________________________________




______________________________________________________________________
Ce message contient des informations dont le contenu est susceptible d'etre 
confidentiel.
Il est destine au(x) destinataire(s) indique(s) exclusivement.

A moins que vous ne fassiez partie de la liste des destinataires, ou que vous 
soyez habilite a recevoir le mail a leur place, il vous est interdit de le 
copier, de l'utiliser ou de devoiler son contenu a un tiers.

Si vous avez recu cet email par erreur, merci de prendre contact avec 
l'emetteur.

Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne 
refletent pas necessairement celles de l'entreprise.

Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir 
des virus qui pourraient endommager votre systeme informatique.

La compagnie a pris toutes dispositions afin de minimiser ce risque et decline 
toute responsabilite pour toute perte ou dommage resultant directement ou 
indirectement de l'utilisation de cet email ou de son contenu.

Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir 
la ou les pieces jointes.
______________________________________________________________________



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to