Hi David, I see what I've been doing wrong, changed the "show expression" and it got fixed :) In your previous mail you mentioned you having add the "snmp informant" counters for disks. Have you add other Disk counters too ? Like for example Average disk queue length ? I tried to make a custom poller with your scripts as example but I don't get it to work.
As I've mailed last week : ************************************************************************** I am trying to get some other SNMP Informant ID's to run with JFFNMS. I've created a script : Disk_Queue.inc.php <? function graph_Disk_Queue ($data) { $opts_DEF = rrdtool_get_def($data,array("Disk_Queue")); $opts_GRAPH = array( "AREA:Disk_Queue#00CC00:'Disk Queue'", "GPRINT:Disk_Queue:MAX:'Max\:%8.0lf %s'", "GPRINT:Disk_Queue:AVERAGE:'Average\:%8.0lf %s'", "GPRINT:Disk_Queue:LAST:'Last\:%8.0lf %s\\n'", ); $opts_header[] = "--vertical-label='Disk Queue'"; return array ($opts_header, @array_merge($opts_DEF,$opts_GRAPH)); } ?> Then i created a new poller item : 10026 Disk Queue Length Disk_Queue snmp_counter .1.3.6.1.4.1.9600.1.1.1.1.13.<index> Then i added the poller item to the poller group " 40 Windows Informant Disks" : 10023 80 Disk Queue Length RRD Individual Value Then i created a graph type : 10014 Disk Queue Windows Logical Disks Disk_Queue 500 150 However when i want to see the graph i see this error : The RRDTool files for Interface ID 983 (from Host ID 59), has not been created by the Poller Process yet And when i try to run the poller.php i get this result : jffnms:/usr/share/jffnms/engine# /usr/bin/php poller.php 59 983 0 80 16:00:39 : H 59 : Poller Start : 2 Items. 16:00:39 : H 59 : I 983 : P 80 : Disk_Queue(.1.3...58): 22 -> rrd(): inf_d_write_time:22 (time P:661.95 | 75.04) 16:00:39 : H 59 : I 983 : P LPD : last_poll_date(): 1160748039 -> db(last_poll_date): 1 (time P:0.41 | 16.3) 16:00:39 : H 59 : Poller End, Total Time: 777.25 msec. Now i don't understand where the "inf_d_write_time" comes from in the poller output above. And i don't undertstand why my graph is not created. Can anyone kick me the right way :) ************************************************************************** Met vriendelijke groet, Sebastian van Dijk -----Oorspronkelijk bericht----- Van: LIMA David [mailto:[EMAIL PROTECTED] Verzonden: maandag 16 oktober 2006 14:38 Aan: Dijk, Sebastian van; jffnms-users@lists.sourceforge.net Onderwerp: RE: [jffnms-users] custom SLA variables Hi Sebastian, I don't understand what your problem is, 13:49:30 I992 : sla : Final Eval: True. INFO: Pix Connections pix_connections: 1 # Your SLA named "pix connections" is true (True= 1, false= 0), it does not mean the number of connections is equal to 1. If you name your SLA something like "Pix connections too high", the log will show "Pix connections to high: 1" and you must see a new line on the events screen every time that this SLA is true). _______________ David LIMA Professional Services www.scc.com ________________________________________ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Dijk, Sebastian van Envoyé : lundi 16 octobre 2006 13:51 À : jffnms-users@lists.sourceforge.net Objet : [jffnms-users] custom SLA variables We got an interface on our ASA firewall and we can measure the connections on it. If we run the poller the results are like this : jffnms:/usr/share/jffnms/engine# /usr/bin/php poller.php 54 992 13:46:38 : H 54 : Poller Start : 2 Items. 13:46:38 : H 54 : I 992 : P 10 : pix_connections(.1.3..0.6): 848 -> rrd(): pix_connections:848 (time P:7.02 | 73.81) 13:46:38 : H 54 : I 992 : P LPD : last_poll_date(): 1160999198 -> db(last_poll_date): 1 (time P:0.54 | 3.07) 13:46:38 : H 54 : Poller End, Total Time: 105.48 msec. I've created an Individual condition : Description Show Info Condition Show Expression Pix Connections > 100 pix_connections (<pix_connections> > 100) (<pix_connections> > 100) This Condition is added into a new SLA. However, when i try to run the RRD_ANALYSER manually, i get this result : jffnms:/usr/share/jffnms/engine# /usr/bin/php rrd_analizer.php 992 13:49:30 I992 : ========================================================================================== 13:49:30 I992 : Start: 2006-10-16 13:10:00 Stop: 2006-10-16 13:40:00 Measures: 6 13:49:30 I992 : pix_connections(722) 13:49:30 I992 : ------------------------------------------------------------------------------------------ 13:49:30 New Event (8945): 2006-10-16 13:49:30 - 12 - 54 - FW Stat 40.6 - alert - rrd_analizer_sla - Pix Connections pix_connections: 1 # - 10005 13:49:30 I992 : sla : Cond0: (722 > 100) = 1 -TRUE- pix_connections: 1 # 13:49:30 I992 : sla : Final Eval: True. INFO: Pix Connections pix_connections: 1 # Here it looks like there is only 1 connection. What is wrong here ? Met vriendelijke groet, Sebastian van Dijk ______________________________________________________________________ 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. ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users