|
|
| Author |
Message |
Guest
|
Posted: Tue Jun 15, 2004 10:23 pm Post subject: |
|
|
I've setup the scripts & snmp bits for this, but when I go to create a graph for BIND under a host, it's asking for Index Type, Index Value, and Output Type ID. What is supposed to be in those fields?
Thanks. |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Jul 17, 2004 9:08 am Post subject: |
|
|
| I am looking for the same information as the previous posters. |
|
| Back to top |
|
 |
rmcclain Guest
|
Posted: Thu Sep 16, 2004 9:53 pm Post subject: |
|
|
If anyone is still having problems with this, change the line in bind9-stats-snmpd.pl that says:
(/^([^\s]+) (\d+)\s*$/)
to say
(/^([^\w]+) (\d+)\s*$/) |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Fri Sep 17, 2004 8:32 am Post subject: |
|
|
Is this Mandrin or Cantonese?
TheWitness |
|
| Back to top |
|
 |
someguy Guest
|
Posted: Fri Sep 24, 2004 11:23 am Post subject: |
|
|
For those of you who had problems finding:
(/^([^\s]+) (\d+)\s*$/)
It's on line 94
==== SNIP ====
next if /^\s*$/;
if (/^([^\s]+) (\d+)\s*$/) {
$INDEX=1;
==== SNIP ==== |
|
| Back to top |
|
 |
cpdans
Joined: 28 Oct 2002 Posts: 43
|
Posted: Wed Oct 27, 2004 9:12 pm Post subject: |
|
|
| Anonymous wrote: | I've setup the scripts & snmp bits for this, but when I go to create a graph for BIND under a host, it's asking for Index Type, Index Value, and Output Type ID. What is supposed to be in those fields?
Thanks. |
I am having the same problem. I did make the change to the .pl file that was listed above. I still get the same thing.
Thanks for any help.
Dan |
|
| Back to top |
|
 |
alekiv
Joined: 23 Nov 2004 Posts: 10
|
Posted: Tue Nov 23, 2004 8:41 am Post subject: |
|
|
| Anonymous wrote: | | I've setup the scripts & snmp bits for this, but when I go to create a graph for BIND under a host, it's asking for Index Type, Index Value, and Output Type ID. What is supposed to be in those fields? |
I am having the same problem.
$ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.55
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.2.1 = STRING: "GLOBAL"
UCD-SNMP-MIB::ucdavis.55.3.1 = INTEGER: 17981695
UCD-SNMP-MIB::ucdavis.55.4.1 = INTEGER: 2565596
UCD-SNMP-MIB::ucdavis.55.5.1 = INTEGER: 27734106
UCD-SNMP-MIB::ucdavis.55.6.1 = INTEGER: 13495226
UCD-SNMP-MIB::ucdavis.55.7.1 = INTEGER: 3317894
UCD-SNMP-MIB::ucdavis.55.8.1 = INTEGER: 7824513
bind9-stats-snmpd.pl:
| Code: |
line92: next if /^[\-\+]/;
line93: next if /^\s*$/;
line94: if (/^([^\s]+) (\d+)\s*$/) {
line95: $INDEX=1;
line96: $COUNT_ID=$count_ids{$1};
line97: $VALUE=$2;
line98: }elsif (/^([^\s]+) (\d+) (.*)$/) {
|
Do i need change something in script? |
|
| Back to top |
|
 |
alekiv
Joined: 23 Nov 2004 Posts: 10
|
Posted: Wed Nov 24, 2004 4:12 am Post subject: problem solved |
|
|
Problem solved.
My cacti was installed without snmp "USE FLAG" in Gentoo. |
|
| Back to top |
|
 |
forrestrun
Joined: 24 Nov 2004 Posts: 3
|
Posted: Fri Nov 26, 2004 3:05 am Post subject: Re: problem solved |
|
|
| alekiv wrote: | Problem solved.
My cacti was installed without snmp "USE FLAG" in Gentoo. |
hi,alekiv!
Where to change the "USE FLAG"? Could you mind showing your details? I find my probliem is same of yours.
thanks. |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Nov 26, 2004 4:54 am Post subject: Re: problem solved |
|
|
| forrestrun wrote: | | alekiv wrote: | Problem solved.
My cacti was installed without snmp "USE FLAG" in Gentoo. |
hi,alekiv!
Where to change the "USE FLAG"? Could you mind showing your details? I find my probliem is same of yours.
thanks. |
| Code: |
homenet root # emerge -pv cacti
[ebuild R ] net-analyzer/cacti-0.8.6b +snmp -vhosts 0 kB
|
and before that was:
[ebuild R ] net-analyzer/cacti-0.8.6b -snmp -vhosts 0 kB[/code] |
|
| Back to top |
|
 |
mtimbroims
Joined: 02 Dec 2004 Posts: 7
|
Posted: Thu Dec 02, 2004 11:30 am Post subject: Strange results in catci.log |
|
|
12/02/2004 11:25:04 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Resu
lt:
12/02/2004 11:25:04 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/bind9-stats
.pl getall GLOBAL, output: U
Every other process that gets checked returns something in the output string but bind9-stats returns "U"...Does that mean unavailable ? I can see my named.stats file with info in it...
Any help is greatly appreciated. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Dec 09, 2004 10:34 am Post subject: |
|
|
I have the same fault.
Anyone Help?
Anyone fix this problem?
Grtz Arjan |
|
| Back to top |
|
 |
iwasinnamuknow
Joined: 17 Dec 2004 Posts: 6 Location: wiltshire, england
|
Posted: Fri Dec 17, 2004 5:19 am Post subject: |
|
|
sorry to bring this back up again, but I am totally stuck .
I have setup bind9 stats via snmp with cacti, the snmp query works, the rrd file is being updated with all the others, but I get 0.00 for everything.
snmpwalk shows something like this:
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.1.2 = INTEGER: 2
UCD-SNMP-MIB::ucdavis.55.1.3 = INTEGER: 3
UCD-SNMP-MIB::ucdavis.55.1.4 = INTEGER: 4
UCD-SNMP-MIB::ucdavis.55.1.5 = INTEGER: 5
UCD-SNMP-MIB::ucdavis.55.1.6 = INTEGER: 6
UCD-SNMP-MIB::ucdavis.55.2.1 = STRING: "GLOBAL"
UCD-SNMP-MIB::ucdavis.55.2.2 = STRING: "0.0.127.in-addr.arpa"
UCD-SNMP-MIB::ucdavis.55.2.3 = STRING: "genestate.com"
UCD-SNMP-MIB::ucdavis.55.2.4 = STRING: "colerneamateuroperatics.org"
UCD-SNMP-MIB::ucdavis.55.2.5 = STRING: "pants-o-matic.org"
UCD-SNMP-MIB::ucdavis.55.2.6 = STRING: "fingertron.com"
UCD-SNMP-MIB::ucdavis.55.3.1 = INTEGER: 903
UCD-SNMP-MIB::ucdavis.55.3.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.3.3 = INTEGER: 486
UCD-SNMP-MIB::ucdavis.55.3.4 = INTEGER: 2
UCD-SNMP-MIB::ucdavis.55.3.5 = INTEGER: 70
UCD-SNMP-MIB::ucdavis.55.3.6 = INTEGER: 345
UCD-SNMP-MIB::ucdavis.55.4.1 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.4.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.4.3 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.4.4 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.4.5 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.4.6 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.5.1 = INTEGER: 19
UCD-SNMP-MIB::ucdavis.55.5.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.5.3 = INTEGER: 19
UCD-SNMP-MIB::ucdavis.55.5.4 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.5.5 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.5.6 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.6.1 = INTEGER: 84
UCD-SNMP-MIB::ucdavis.55.6.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.6.3 = INTEGER: 81
UCD-SNMP-MIB::ucdavis.55.6.4 = INTEGER: 2
UCD-SNMP-MIB::ucdavis.55.6.5 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.6.6 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.7.1 = INTEGER: 6
UCD-SNMP-MIB::ucdavis.55.7.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.7.3 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.7.4 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.7.5 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.7.6 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.1 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.2 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.3 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.4 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.5 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.55.8.6 = INTEGER: 0
i have tried to graph all domains except for local stub but they are
all blank.
Any ideas will be welcomed
mat |
|
| Back to top |
|
 |
pprice
Joined: 15 Feb 2005 Posts: 2
|
Posted: Tue Feb 15, 2005 11:52 am Post subject: no data from bind9-stats-snmpd.pl |
|
|
I'm having the same problem:
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache/htdocs/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 '/usr/local/apache/htdocs/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti/resource/snmp_queries/bind9-stats-snmp.xml'
Freebsd 4.8
Perl 5.005_03
If I use the test.sh example listed in an earlier message here, I can snmpwalk the data. Not so with bind9-stats-snmpd.pl
The oidstats() routine is the last thing printed if I set DEBUG 1
My named.stats file is being written and is readable
There appears to be something wrong with bind9-stats-snmpd.pl but I'm not a Perl programmer.... |
|
| Back to top |
|
 |
Aseroth
Joined: 01 Mar 2005 Posts: 1
|
Posted: Tue Mar 01, 2005 5:09 am Post subject: Re: BIND 9 Statistics for Catci |
|
|
I follow instruction for added statistic (local) for my DNS server, but
i can't enable host graph.
i see in device section:
| Code: | | MyName Unknown MyHost 0 0 100% |
|
|
| Back to top |
|
 |
|