You need to either write graph generation code, or you can create a simple graph definition in includes/definitions/graphtypes.inc.php
You also should have made an rrdtype definition in definitions too.
Adam.
Sent from BlueMail
On 6 Sep 2017, 15:17, at 15:17, MAILLET Julien julien.maillet@docapost.fr wrote:
No I didn’t. I guess that’s the goal of this post : How can I link this new file with a new graph section or an existing section ?
clientssl.rrd is linked to “F5 SSL” Graph section, and work well but I can’t find the way the association is done
I checked $basedir/includes/definitions.inc.php and $basedir/includes/polling/graphs.inc.php but didn’t found any clue
Julien Maillet 04 42 39 14 03
De : observium [mailto:observium-bounces@observium.org] De la part de Adam Armstrong Envoyé : mercredi 6 septembre 2017 16:07 À : Observium Objet : Re: [Observium] Adding new graph
Did you create graph definitions for those? Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=10455 On 6 Sep 2017, at 14:45, MAILLET Julien <julien.maillet@docapost.frmailto:julien.maillet@docapost.fr> wrote: Just on file : $basedir/includes/polling/graphs/f5-bigip-system-mib/vsConnections.inc.php
<?php
// F5-BIGIP-SYSTEM-MIB sysGlobalStat // //F5-BIGIP-SYSTEM-MIB::sysStatClientCurConns.0 = Counter64: 74 //F5-BIGIP-SYSTEM-MIB::sysStatClientMaxConns.0 = Counter64: 1419 //F5-BIGIP-SYSTEM-MIB::sysStatClientTotConns.0 = Counter64: 311442235 //F5-BIGIP-SYSTEM-MIB::sysStatServerMaxConns.0 = Counter64: 773 //F5-BIGIP-SYSTEM-MIB::sysStatServerCurConns.0 = Counter64: 24 //F5-BIGIP-SYSTEM-MIB::sysStatServerTotConns.0 = Counter64: 305085995
$table_defs['F5-BIGIP-SYSTEM-MIB']['vsconns'] = array( 'file' => 'vsconns.rrd', 'call_function' => 'snmp_get', 'mib' => 'F5-BIGIP-SYSTEM-MIB', 'mib_dir' => 'f5', 'descr' => 'Concurrent Connections', 'table' => 'sysGlobalStat', 'ds_rename' => array( 'sysStat' => '', ), 'graphs' => array('f5_cur_conns', 'f5_tot_conns', 'f5_max_conns'), 'oids' => array( 'sysStatClientCurConns' => array('descr' => 'Current Client Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0'), 'sysStatServerCurConns' => array('descr' => 'Current Server Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0'), 'sysStatClientTotConns' => array('descr' => 'Total Client Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0'), 'sysStatServerTotConns' => array('descr' => 'Total Server Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0'), 'sysStatClientMaxConns' => array('descr' => 'Maximum Client Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0'), 'sysStatServerMaxConns' => array('descr' => 'Maximum Server.0 Connections', 'ds_type' => 'COUNTER', 'ds_min' => '0') ) ); // EOF
Can do a php poller.php -h f5-device and see 'f5_cur_conns', 'f5_tot_conns', 'f5_max_conns' on device Properties -> Graph
Julien
De : observium [mailto:observium-bounces@observium.org] De la part de Adam Armstrong Envoyé : mercredi 6 septembre 2017 15:19 À : Observium Cc : Observium Objet : Re: [Observium] Adding new graph
What did you create? You've not actually supplied any useful information. Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=10455 On 6 Sep 2017, at 13:34, MAILLET Julien <julien.maillet@docapost.frmailto:julien.maillet@docapost.fr> wrote: Hello,
I’m following this to add a custom graph but it seems outaded http://docs.observium.org/developing/add_graph/
I try and use the *new* format of graphing poller (Examples are in NS-ROOT-MIB).
So I created a file in $basedir/includes/polling/graphs/ but graph still don’t work.
Any new procedure available ?
Julien
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium