Hi David,

        You are mixing graphs with pollers and backends.

This looks ok:
> 11:31:52  :  H  25 :  I  10 :  P   1 : snmp_counter:docsis(.1.3..6.3):
> 277 -> buffer(): 1 (time P:377.9 | 0.3)

But here is the problem:
> RRD error: 11:31:52  :  H  25 :  I  10 :  P  10 : no_poller(): 0 ->
> rrd(): 0 (time P:0.13 | 11.34)


You don't have a Interface Type field called docsis of the RRD Type.

Javier

David de Marcos wrote:
I've get a little further, but i'm stuck now. I've put some loggers so i can get valuable information in log files. These results are with the interface i created and checking storage on a local server. This is what i get from running poller.inc.php manually:

//FIRST HOST

11:31:52 : H 25 : Poller Start : 2 Items.
11:31:52 IRS-get_snmp_counter:-XXX.XXX.XXX.XXX-public-.1.3.6.1.2.1.10.127.1.1.1.1.6.3-277-


11:31:52 : H 25 : I 10 : P 1 : snmp_counter:docsis(.1.3..6.3): 277 -> buffer(): 1 (time P:377.9 | 0.3)
IRS filename: /opt/anms/rrd/interface-10.rrd
IRS!
IRS!DS:docsis:GAUGE:600:0:<size>
IRS!DS:docsis:GAUGE:600:0:<size>
IRS 1:-DS:docsis:GAUGE:600:0:<size>-
IRS 2:-RRA:AVERAGE:0.5:1:<resolution>-
IRS 3:-103680-
IRS 4:-300-
IRS 5:-2-
IRS ANTES /opt/anms/rrd/interface-10-0.rrd-Array-DS:docsis:GAUGE:600:0:<size>-DS:data:GAUGE:600:0:<size>-


IRS ENTRA
RRD error: 11:31:52 : H 25 : I 10 : P 10 : no_poller(): 0 -> rrd(): 0 (time P:0.13 | 11.34)
11:31:52 : H 25 : I 10 : P LPD : last_poll_date(): 1092303112 -> db(last_poll_date): 1 (time P:0.2 | 2.25)
11:31:52 : H 25 : Poller End, Total Time: 400.54 msec.


//SECOND HOST

11:31:55 : H 24 : Poller Start : 4 Items.
11:31:55 IRS-get_snmp_counter:-192.168.10.2-public-.1.3.6.1.2.1.25.2.3.1.4.2-4096 Bytes-
11:31:55 : H 24 : I 9 : P 10 : snmp_counter:storage_block_size(.1.3..4.2): 4096 -> buffer(): 1 (time P:2.26 | 0.39)
11:31:55 IRS-get_snmp_counter:-192.168.10.2-public-.1.3.6.1.2.1.25.2.3.1.5.2-1024135-


11:31:55 : H 24 : I 9 : P 20 : snmp_counter:storage_block_count(.1.3..5.2): 1024135 -> buffer(): 2 (time P:1.46 | 0.17)
11:31:55 IRS-get_snmp_counter:-192.168.10.2-public-.1.3.6.1.2.1.25.2.3.1.6.2-916355-
11:31:55 : H 24 : I 9 : P 30 : snmp_counter:storage_used_blocks(.1.3..6.2): 916355 -> buffer(): 3 (time P:1.32 | 0.15)
IRS filename: /opt/anms/rrd/interface-9.rrd
IRS!
IRS!DS:storage_block_size:GAUGE:600:0:<size>


:GAUGE:600:0:<size> DS:storage_used_blocks:GAUGE:600:0:<size>
IRS!DS:storage_block_size:GAUGE:600:0:786535681 DS:storage_block_count:GAUGE:600:0:786535681 DS:storage_used_blocks:GAUGE:600:0:786535681
IRS!DS:storage_block_size:GAUGE:600:0:786535681 DS:storage_block_count:GAUGE:600:0:786535681 DS:storage_used_blocks:GAUGE:600:0:786535681
IRS!DS:storage_block_size:GAUGE:600:0:786535681 DS:storage_block_count:GAUGE:600:0:786535681 DS:storage_used_blocks:GAUGE:600:0:786535681
IRS!DS:storage_block_size:GAUGE:600:0:786535681 DS:storage_block_count:GAUGE:600:0:786535681 DS:storage_used_blocks:GAUGE:600:0:786535681
IRS 1:-DS:storage_block_size:GAUGE:600:0:786535681 DS:storage_block_count:GAUGE:600:0:786535681 DS:storage_used_blocks:GAUGE:600:0:786535681-
IRS 2:-RRA:AVERAGE:0.5:1:<resolution>-
IRS 3:-103680-
IRS 4:-300-
IRS 5:-2-
IRS ANTES /opt/anms/rrd/interface-9-0.rrd-Array-DS:storage_block_size:GAUGE:600:0:786535681-DS:data:GAUGE:600:0:786535681-


IRS ANTES /opt/anms/rrd/interface-9-1.rrd-Array-DS:storage_block_count:GAUGE:600:0:786535681-DS:data:GAUGE:600:0:786535681-

IRS ANTES /opt/anms/rrd/interface-9-2.rrd-Array-DS:storage_used_blocks:GAUGE:600:0:786535681-DS:data:GAUGE:600:0:786535681-

11:31:55 : H 24 : I 9 : P 60 : no_poller(): 0 -> rrd(*): storage_block_size:4096 - storage_block_count:1024135 - storage_used_blocks:916355 (time P:0.19 | 91)
11:31:55 : H 24 : I 9 : P LPD : last_poll_date(): 1092303115 -> db(last_poll_date): 1 (time P:0.2 | 2.71)
11:31:55 : H 24 : Poller End, Total Time: 111.31 msec.


From what i see, first host can't storage rrd information and i don't have any idea why it happens :'(.

Salu2.

David de Marcos wrote:

Hi all!!

Now that i've done creating my owns interfaces (thanks for the help Javier :)) i have to create my own graph scripts... i've seen there's no documentation related to it so i guess it can be complicated but i'll have to give it a try :D.

From what i've seen in cpu_util.inc.php, it's all related with "internal names" used in fields, pollers... i guess jffnms stores retrieved information in those and passes it to rrdtool. So using the internal names is the key to get some beautiful graphs... i'll check rrdtool documentation to see if i can get some usefull information.

By the way, any kind of help would be appreciated :P.

TIA!!

Salu2.




-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to