Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


bind9 stats, No SNMP data returned

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Wed Oct 15, 2008 3:05 pm    Post subject: bind9 stats, No SNMP data returned Reply with quote

Hi,

I'm running cacti 0.8.7b on FreeBSD7 with net-snmp5.4.1.2 trying to query bind9.4.2 on OpenBSD 4.3. As plugin I use http://forums.cacti.net/viewtopic.php?t=3018&postdays=0&postorder=asc&start=0.

[root@ns1 ~]# /usr/bin/perl /usr/local/bin/bind9-stats-snmpd.pl
Adding stat .1.3.6.1.4.1.2021.55.3.1: 45816
Adding stat .1.3.6.1.4.1.2021.55.7.1: 41
Adding stat .1.3.6.1.4.1.2021.55.6.1: 748
Adding stat .1.3.6.1.4.1.2021.55.5.1: 32196
Adding stat .1.3.6.1.4.1.2021.55.8.1: 1013
Adding stat .1.3.6.1.4.1.2021.55.4.1: 61
Adding Index .1.3.6.1.4.1.2021.55.1.2: 2
Adding Name .1.3.6.1.4.1.2021.55.2.2: net_external
Adding stat .1.3.6.1.4.1.2021.55.3.2: 39297
Adding stat .1.3.6.1.4.1.2021.55.7.2: 0
Adding stat .1.3.6.1.4.1.2021.55.6.2: 598
Adding stat .1.3.6.1.4.1.2021.55.5.2: 31455
Adding stat .1.3.6.1.4.1.2021.55.8.2: 0
Adding stat .1.3.6.1.4.1.2021.55.4.2: 0
getoid(): Checking in stats
[root@ns1 ~]#

[root@BSDHelmut ~]# snmpwalk -v2c -c public 192.168.0.90 .1.3.6.1.4.1.2021.55
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.1.2 = INTEGER: 2
UCD-SNMP-MIB::ucdavis.55.2.1 = STRING: "GLOBAL"
UCD-SNMP-MIB::ucdavis.55.2.2 = STRING: "net_external"
UCD-SNMP-MIB::ucdavis.55.3.1 = INTEGER: 45816
UCD-SNMP-MIB::ucdavis.55.3.2 = INTEGER: 39297
UCD-SNMP-MIB::ucdavis.55.4.1 = INTEGER: 61
UCD-SNMP-MIB::ucdavis.55.4.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.5.1 = INTEGER: 32196
UCD-SNMP-MIB::ucdavis.55.5.2 = INTEGER: 31455
UCD-SNMP-MIB::ucdavis.55.6.1 = INTEGER: 748
UCD-SNMP-MIB::ucdavis.55.6.2 = INTEGER: 598
UCD-SNMP-MIB::ucdavis.55.7.1 = INTEGER: 41
UCD-SNMP-MIB::ucdavis.55.7.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.1 = INTEGER: 1013
UCD-SNMP-MIB::ucdavis.55.8.2 = INTEGER: 0
[root@BSDHelmut ~]#

But cacti says:

+ Running data query [29].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/var/www/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2021.55.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/var/www/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/var/www/var/www/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/var/www/var/www/cacti/resource/snmp_queries/bind9-stats-snmp.xml'

Any tips are welcome.

Thanks, Helmut


Last edited by Helmut Schneider on Wed Oct 29, 2008 5:24 am; edited 1 time in total
Back to top
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Wed Oct 29, 2008 5:23 am    Post subject: Reply with quote

Increasing the individual timeout to 1500ms for that host solved that one.

Helmut
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group