bind9: How to make bind9-snmp-stats.pl support BigInt?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
cnlg
Posts: 13
Joined: Wed Jul 27, 2005 9:26 pm

bind9: How to make bind9-snmp-stats.pl support BigInt?

Post by cnlg »

i am a cacti user and use bind9-snmp-stats.pl made by Turbo Fredriksson to monitor my bind server for a time,but i find that after the server runs for a long time,the server returns the result only reach to 2**31-1=2147483647,if use "rndc stats" command on the server,the result is over that like below:
+++ Statistics Dump +++ (1174989704)
success 2924735333
referral 858153
nxrrset 61643770
nxdomain 787282873
recursion 298138885
failure 82686098


the snmp result like below:
b9stCounterName b9stCounterTotal b9stCounterForward b9stCounterReverse
success 2147483647 4356208 ?
referral 858258 0 ?
nxrrset 61650110 186022 ?
nxdomain 787364463 79102 ?
recursion 298170532 0 ?
failure 82695694 0 ?

Since i am poor of perl,any one knows how to make bind9-snmp-stats.pl support BigInt?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests