Linux TC QoS Queue Discipline Stats template

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

Moderators: Developers, Moderators

User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote:Ok, that one works, but now i have a new problem, i replaced the /usr/local/sbin/snmp_... script with the one you posted now
...
Set $debug = 0 (line 25)
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

Still the same problem in cacti.
And here is what i tried:

Code: Select all

/usr/local/sbin/snmp_persist.pl
getnext

.1.3.6.1.4.1.2021.255.2.2.0.1
string
eth1
Nothing for eth0 but still, should work for eth1..
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

Ok, fixed this problem, i forgot to uncoment the line from snmpd.conf

Now the problem is the same as when i started to test this, my snmpd is shown as down after i refresh Linux - QoS Qdisc

Cacti log shows:

Code: Select all

11/26/2008 09:59:03 PM - PCOMMAND: Poller[0] Host[3] WARNING: Recache Event Detected for Host
11/26/2008 09:59:02 PM - SYSTEM STATS: Time:1.1255 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:31 RRDsProcessed:16
11/26/2008 09:59:02 PM - CMDPHP: Poller[0] Host[3] DS[33] WARNING: Result from SERVER not valid. Partial Result: U
11/26/2008 09:59:02 PM - CMDPHP: Poller[0] ASSERT: '330347<5213' failed. Recaching host '93.xxx.xxx.xx', data query #8
11/26/2008 09:59:02 PM - CMDPHP: Poller[0] ASSERT: '330347<5213' failed. Recaching host '93.xxx.xxx.xx', data query #1 
on my main server running snmpd:

Code: Select all

/etc/init.d/snmpd status
 * status:  started
But cacti still shows snmp as down..
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote:Still the same problem in cacti.
And here is what i tried:

Code: Select all

/usr/local/sbin/snmp_persist.pl
getnext

.1.3.6.1.4.1.2021.255.2.2.0.1
string
eth1
Nothing for eth0 but still, should work for eth1..
Since you haven't ensured everything is working yet, please just run from the command line with debugging enabled for now. Once things are settled, the version you use with snmpd will need to have $debug = 0 or snmpd will have issues.

I uploaded slightly improved version of snmp_persist-test.pl in my earlier message.

Can you give me a full dump of this same sequence with the updated version? It should look something like this:

Code: Select all

[me@box tmp]$ ./snmp_persist-test.pl
Found NIC=lo
Found NIC=eth0
Found NIC=eth1
Found NIC=eth2
Found NIC=eth4
Found NIC=eth3
Found NIC=sit0
getnext

Line-> Sent 1451654521 bytes 5795625 pkts (dropped 15637, overlimits 2111204 requeues 0) <-
Interface eth0, qdisc htb 1: Matched 1451654521 bytes 5795625 pkts 15637 dropped 2111204 overlimits 0 requeues
Line-> Sent 3022300 bytes 29339 pkts (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 10: Matched 3022300 bytes 29339 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 11: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 168086635 bytes 1777901 pkts (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 12: Matched 168086635 bytes 1777901 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 13: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 14: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 1280545586 bytes 3988385 pkts (dropped 15637, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 15: Matched 1280545586 bytes 3988385 pkts 15637 dropped 0 overlimits 0 requeues
.1.3.6.1.4.1.2021.255.2.2.0.1
string
eth0
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

The script had debug = 0 when i tested with snmpd.
I can't paste here all the log, it is huge, over 1000 clients on only one interface.

Here is a section of the lig:

Code: Select all

/usr/local/sbin/snmp_persist.pl
Found NIC=eth1
Found NIC=eth0
Found NIC=lo
Found NIC=teql0
Found NIC=eth0
Found NIC=eth0
getnext

Line-> Sent 49142 bytes 185 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 49142 bytes 185 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 42945 bytes 175 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 42945 bytes 175 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 40189 bytes 162 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 40189 bytes 162 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 42200 bytes 162 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 42200 bytes 162 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 47243 bytes 182 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 47243 bytes 182 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 41332 bytes 169 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 41332 bytes 169 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 46489 bytes 183 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 46489 bytes 183 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 42540 bytes 162 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 42540 bytes 162 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 46436 bytes 176 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 46436 bytes 176 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 39159 bytes 161 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 39159 bytes 161 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 42087 bytes 159 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 42087 bytes 159 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 39313 bytes 155 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 39313 bytes 155 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 43965 bytes 174 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 43965 bytes 174 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 43291 bytes 177 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 43291 bytes 177 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 295086 bytes 4382 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 295086 bytes 4382 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6882 bytes 89 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6882 bytes 89 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 15120 bytes 195 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 15120 bytes 195 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 49495209 bytes 242106 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 49495209 bytes 242106 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7212 bytes 78 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7212 bytes 78 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9196 bytes 114 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9196 bytes 114 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 33316 bytes 518 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 33316 bytes 518 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9168 bytes 120 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9168 bytes 120 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8210 bytes 83 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8210 bytes 83 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 15236 bytes 196 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 15236 bytes 196 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 13132 bytes 180 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 13132 bytes 180 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9390 bytes 123 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9390 bytes 123 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11316 bytes 154 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11316 bytes 154 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10376 bytes 112 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10376 bytes 112 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10444 bytes 118 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10444 bytes 118 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11868 bytes 148 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11868 bytes 148 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6112 bytes 60 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6112 bytes 60 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6604 bytes 72 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6604 bytes 72 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8930 bytes 93 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8930 bytes 93 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7916 bytes 88 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7916 bytes 88 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8874 bytes 97 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8874 bytes 97 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8458 bytes 111 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8458 bytes 111 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7870 bytes 93 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7870 bytes 93 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 5584 bytes 72 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 5584 bytes 72 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 5940 bytes 52 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 5940 bytes 52 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10128 bytes 136 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10128 bytes 136 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7660 bytes 84 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7660 bytes 84 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9404 bytes 116 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9404 bytes 116 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10006 bytes 115 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10006 bytes 115 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8598 bytes 111 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8598 bytes 111 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11858 bytes 161 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11858 bytes 161 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9658 bytes 125 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9658 bytes 125 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6110 bytes 89 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6110 bytes 89 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 12386 bytes 149 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 12386 bytes 149 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8830 bytes 119 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8830 bytes 119 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9616 bytes 100 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9616 bytes 100 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6804 bytes 88 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6804 bytes 88 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7850 bytes 87 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7850 bytes 87 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7870 bytes 89 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7870 bytes 89 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8524 bytes 104 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8524 bytes 104 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8752 bytes 96 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8752 bytes 96 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6912 bytes 84 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6912 bytes 84 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6550 bytes 79 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6550 bytes 79 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6154 bytes 77 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6154 bytes 77 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7612 bytes 78 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7612 bytes 78 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7198 bytes 77 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7198 bytes 77 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7802 bytes 87 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7802 bytes 87 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7846 bytes 93 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7846 bytes 93 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 12686 bytes 167 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 12686 bytes 167 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6714 bytes 63 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6714 bytes 63 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 12503 bytes 149 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 12503 bytes 149 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8470 bytes 105 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8470 bytes 105 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 4976 bytes 64 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 4976 bytes 64 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11746 bytes 137 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11746 bytes 137 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7458 bytes 81 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7458 bytes 81 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6251 bytes 56 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6251 bytes 56 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8928 bytes 116 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8928 bytes 116 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7944 bytes 90 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7944 bytes 90 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6478 bytes 71 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6478 bytes 71 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7814 bytes 93 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7814 bytes 93 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8012 bytes 96 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8012 bytes 96 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9200 bytes 110 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9200 bytes 110 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11526 bytes 131 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11526 bytes 131 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7940 bytes 112 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7940 bytes 112 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9606 bytes 93 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9606 bytes 93 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6906 bytes 99 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6906 bytes 99 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 16304 bytes 218 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 16304 bytes 218 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6938 bytes 89 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6938 bytes 89 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9306 bytes 99 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9306 bytes 99 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8910 bytes 109 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8910 bytes 109 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9300 bytes 122 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9300 bytes 122 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9564 bytes 116 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9564 bytes 116 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7842 bytes 103 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7842 bytes 103 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11684 bytes 136 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11684 bytes 136 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8898 bytes 101 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8898 bytes 101 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9938 bytes 109 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9938 bytes 109 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 25442 bytes 343 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 25442 bytes 343 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6986 bytes 63 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6986 bytes 63 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8952 bytes 106 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8952 bytes 106 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 5902 bytes 73 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 5902 bytes 73 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10858 bytes 135 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10858 bytes 135 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8766 bytes 113 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8766 bytes 113 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9570 bytes 99 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9570 bytes 99 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 5614 bytes 69 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 5614 bytes 69 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6610 bytes 55 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6610 bytes 55 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 5554 bytes 57 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 5554 bytes 57 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6014 bytes 51 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6014 bytes 51 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8082 bytes 91 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8082 bytes 91 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8191 bytes 83 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8191 bytes 83 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9084 bytes 116 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9084 bytes 116 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8616 bytes 100 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8616 bytes 100 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7738 bytes 91 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7738 bytes 91 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6374 bytes 69 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6374 bytes 69 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7984 bytes 90 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7984 bytes 90 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9384 bytes 106 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9384 bytes 106 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8430 bytes 97 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8430 bytes 97 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8124 bytes 92 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8124 bytes 92 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11164 bytes 140 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11164 bytes 140 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7880 bytes 88 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7880 bytes 88 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9246 bytes 115 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9246 bytes 115 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10782 bytes 129 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10782 bytes 129 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8026 bytes 107 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8026 bytes 107 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 12232 bytes 150 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 12232 bytes 150 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7400 bytes 92 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7400 bytes 92 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9030 bytes 111 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9030 bytes 111 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8970 bytes 117 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8970 bytes 117 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8148 bytes 76 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8148 bytes 76 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9706 bytes 105 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9706 bytes 105 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 10400 bytes 122 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 10400 bytes 122 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8696 bytes 100 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8696 bytes 100 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7180 bytes 80 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7180 bytes 80 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6100 bytes 54 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 6100 bytes 54 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7828 bytes 112 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7828 bytes 112 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 11198 bytes 119 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 11198 bytes 119 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8012 bytes 90 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8012 bytes 90 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9948 bytes 110 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9948 bytes 110 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7270 bytes 79 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7270 bytes 79 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8614 bytes 83 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8614 bytes 83 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 15186 bytes 153 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 15186 bytes 153 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8506 bytes 115 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8506 bytes 115 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 9502 bytes 131 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 9502 bytes 131 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8143 bytes 98 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8143 bytes 98 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8312 bytes 100 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8312 bytes 100 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 7826 bytes 103 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 7826 bytes 103 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 8588 bytes 104 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 8588 bytes 104 pkts 0 dropped 0 overlimits 0 requeues
Is there a way to dump all this log into a file ? I can't think at any since it requires user input.
I have more interfaces with Vlans on them...

And here is how the dump ends:

Code: Select all

Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
.1.3.6.1.4.1.2021.255.2.2.0.1
string
eth1
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote: <snip>
But cacti still shows snmp as down..
This makes it look like something isn't setup properly with either snmpd or Cacti's downed host detection for this box. When you open the Device in Cacti, do you see something like the following under the hostname, or do you get SNMP error?

Code: Select all

SNMP Information
System: Linux DL360-2 2.6.18-92.1.13.el5xen #1 SMP Thu Sep 4 04:07:08 EDT 2008 x86_64
Uptime: 182070394 (21 days, 1 hours, 45 minutes)
Hostname: DL360-2
Location: Somewhere
Contact: someone@somewhere.com
If you do see something like the above, try setting the downed host detection for SNMP only (rather than None/SNMP and Ping/Ping)
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote:The script had debug = 0 when i tested with snmpd.
I can't paste here all the log, it is huge, over 1000 clients on only one interface.

Here is a section of the lig:

/usr/local/sbin/snmp_persist.pl
Found NIC=eth1
Found NIC=eth0
Found NIC=lo
Found NIC=teql0
Found NIC=eth0
Found NIC=eth0
getnext

Line-> Sent 49142 bytes 185 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth1: Matched 49142 bytes 185 pkts 0 dropped 0 overlimits 0 requeues
Great, this make it look like things are working. If you set $debug back to 0, and restart snmpd, what does an snmpwalk of .1.3.6.1.4.1.2021.255.2 look like?

Warning: If you have thousands of qdiscs defined as you mentioned, then this will give you a ton of output...
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

The remote server was working without no problems for over one year with graphs from cacti.

Here is what you requested:

Code: Select all

snmpwalk -v 2c -c xxxx localhost .1.3.6.1.4.1.2021.255.2
Timeout: No Response from localhost
After this snmp stops working properly and i have to restart it in order to bring it up again.
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

This makes it look like something isn't setup properly with either snmpd or Cacti's downed host detection for this box. When you open the Device in Cacti, do you see something like the following under the hostname, or do you get SNMP error?
I get smpd error after i try to refresh the new device added, Linux QoS.
snmpd crashes when i run snmpwalk or cacti tries to run it...
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote:The remote server was working without no problems for over one year with graphs from cacti.

Here is what you requested:

Code: Select all

snmpwalk -v 2c -c xxxx localhost .1.3.6.1.4.1.2021.255.2
Timeout: No Response from localhost
After this snmp stops working properly and i have to restart it in order to bring it up again.
Bummer... Looks like your setup is generating too much data and this is borking snmpd.
z3rgl1ng
Posts: 10
Joined: Tue Nov 25, 2008 2:51 pm

Post by z3rgl1ng »

:lol:
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

z3rgl1ng wrote::lol:
If you are feeling up to it, you might want to take a crack at redoing the script with SNMP::Persist, as this is undoubtedly more scalable for large setups like yours (configurable loop timing, shared threads, etc...)
User avatar
saaremaa
Posts: 7
Joined: Thu Nov 13, 2008 4:37 am
Location: Russia, Kaliningrad

Post by saaremaa »

Soft: Ubuntu Server 9.04, NET-SNMP 5.4.1 , Cacti 0.8.7d+official patches , Kernel 2.6.28-11-server on i686
1. I Has installed the program as it is written to instructions at start topic
2. Cacti get verbose SNMP data at my host (verbose query.png), but don`t create rrd. Please help :(

Sorry for my English - it is not my native language, but I understand it perfectly

clear && tc -s -d qdisc show dev ppp0

Code: Select all

qdisc htb 1: root r2q 10 default 1 direct_packets_stat 911799 ver 3.17
 Sent 4636847684 bytes 3205303 pkt (dropped 11, overlimits 3625456 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 3035441 bytes 23348 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 20: parent 1:20 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 1078 bytes 24 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 30: parent 1:30 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 102657 bytes 604 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 40: parent 1:40 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 3319631498 bytes 2267900 pkt (dropped 11, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 50: parent 1:50 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 80042 bytes 1628 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 60: parent 1:60 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 80: parent 1:80 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 90: parent 1:90 limit 127p quantum 1514b flows 127/1024 perturb 10sec
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0

Code: Select all

0;root@retracker-1-11: /usr/local/sbinroot@retracker-1-11:/usr/local/sbin# perl snmp_persist.pl
Found NIC=lo
Found NIC=eth0
Found NIC=eth1
Found NIC=ppp0
getnext

Line-> Sent 1648670522 bytes 1578059 pkt (dropped 0, overlimits 319385 requeues 0) <-
Interface eth0, qdisc htb 1: Matched 1648670522 bytes 1578059 pkts 0 dropped 319385 overlimits 0 requeues
Line-> Sent 54960385 bytes 49489 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 10: Matched 54960385 bytes 49489 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 2304 bytes 32 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 20: Matched 2304 bytes 32 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 4398834 bytes 7188 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 30: Matched 4398834 bytes 7188 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 40: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 205741 bytes 3695 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 50: Matched 205741 bytes 3695 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 60: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 1588480679 bytes 1516259 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 70: Matched 1588480679 bytes 1516259 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 80: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface eth0, qdisc sfq 90: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 6401419657 bytes 5896680 pkt (dropped 0, overlimits 0 requeues 167) <-
Interface eth1, qdisc htb 1: Matched 6401419657 bytes 5896680 pkts 0 dropped 0 overlimits 167 requeues
Line-> Sent 4642183741 bytes 3208945 pkt (dropped 11, overlimits 3627499 requeues 0) <-
Interface ppp0, qdisc htb 1: Matched 4642183741 bytes 3208945 pkts 11 dropped 3627499 overlimits 0 requeues
Line-> Sent 3036361 bytes 23361 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 10: Matched 3036361 bytes 23361 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 1078 bytes 24 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 20: Matched 1078 bytes 24 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 102657 bytes 604 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 30: Matched 102657 bytes 604 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 3322971902 bytes 2270174 pkt (dropped 11, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 40: Matched 3322971902 bytes 2270174 pkts 11 dropped 0 overlimits 0 requeues
Line-> Sent 80295 bytes 1633 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 50: Matched 80295 bytes 1633 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 60: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 80: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
Line-> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <-
Interface ppp0, qdisc sfq 90: Matched 0 bytes 0 pkts 0 dropped 0 overlimits 0 requeues
.1.3.6.1.4.1.2021.255.2.2.0.1
string
eth0
snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.255

Code: Select all

UCD-SNMP-MIB::ucdavis.255.2.2.0.1 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.2 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.3 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.4 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.5 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.6 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.7 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.8 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.9 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.10 = STRING: "eth0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.11 = STRING: "eth1"
UCD-SNMP-MIB::ucdavis.255.2.2.0.12 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.13 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.14 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.15 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.16 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.17 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.18 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.19 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.0.20 = STRING: "ppp0"
UCD-SNMP-MIB::ucdavis.255.2.2.1.1 = STRING: "htb 1"
UCD-SNMP-MIB::ucdavis.255.2.2.1.2 = STRING: "sfq 10"
UCD-SNMP-MIB::ucdavis.255.2.2.1.3 = STRING: "sfq 20"
UCD-SNMP-MIB::ucdavis.255.2.2.1.4 = STRING: "sfq 30"
UCD-SNMP-MIB::ucdavis.255.2.2.1.5 = STRING: "sfq 40"
UCD-SNMP-MIB::ucdavis.255.2.2.1.6 = STRING: "sfq 50"
UCD-SNMP-MIB::ucdavis.255.2.2.1.7 = STRING: "sfq 60"
UCD-SNMP-MIB::ucdavis.255.2.2.1.8 = STRING: "sfq 70"
UCD-SNMP-MIB::ucdavis.255.2.2.1.9 = STRING: "sfq 80"
UCD-SNMP-MIB::ucdavis.255.2.2.1.10 = STRING: "sfq 90"
UCD-SNMP-MIB::ucdavis.255.2.2.1.11 = STRING: "htb 1"
UCD-SNMP-MIB::ucdavis.255.2.2.1.12 = STRING: "htb 1"
UCD-SNMP-MIB::ucdavis.255.2.2.1.13 = STRING: "sfq 10"
UCD-SNMP-MIB::ucdavis.255.2.2.1.14 = STRING: "sfq 20"
UCD-SNMP-MIB::ucdavis.255.2.2.1.15 = STRING: "sfq 30"
UCD-SNMP-MIB::ucdavis.255.2.2.1.16 = STRING: "sfq 40"
UCD-SNMP-MIB::ucdavis.255.2.2.1.17 = STRING: "sfq 50"
UCD-SNMP-MIB::ucdavis.255.2.2.1.18 = STRING: "sfq 60"
UCD-SNMP-MIB::ucdavis.255.2.2.1.19 = STRING: "sfq 80"
UCD-SNMP-MIB::ucdavis.255.2.2.1.20 = STRING: "sfq 90"
UCD-SNMP-MIB::ucdavis.255.2.2.2.1 = Counter32: 1648734230
UCD-SNMP-MIB::ucdavis.255.2.2.2.2 = Counter32: 54960601
UCD-SNMP-MIB::ucdavis.255.2.2.2.3 = Counter32: 2304
UCD-SNMP-MIB::ucdavis.255.2.2.2.4 = Counter32: 4458512
UCD-SNMP-MIB::ucdavis.255.2.2.2.5 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.6 = Counter32: 206440
UCD-SNMP-MIB::ucdavis.255.2.2.2.7 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.8 = Counter32: 1588483794
UCD-SNMP-MIB::ucdavis.255.2.2.2.9 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.10 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.11 = Counter32: 2112338577
UCD-SNMP-MIB::ucdavis.255.2.2.2.12 = Counter32: 352810008
UCD-SNMP-MIB::ucdavis.255.2.2.2.13 = Counter32: 3036575
UCD-SNMP-MIB::ucdavis.255.2.2.2.14 = Counter32: 1078
UCD-SNMP-MIB::ucdavis.255.2.2.2.15 = Counter32: 102657
UCD-SNMP-MIB::ucdavis.255.2.2.2.16 = Counter32: 3326813916
UCD-SNMP-MIB::ucdavis.255.2.2.2.17 = Counter32: 80581
UCD-SNMP-MIB::ucdavis.255.2.2.2.18 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.19 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.2.20 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.1 = Counter32: 1578242
UCD-SNMP-MIB::ucdavis.255.2.2.3.2 = Counter32: 49493
UCD-SNMP-MIB::ucdavis.255.2.2.3.3 = Counter32: 32
UCD-SNMP-MIB::ucdavis.255.2.2.3.4 = Counter32: 7343
UCD-SNMP-MIB::ucdavis.255.2.2.3.5 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.6 = Counter32: 3708
UCD-SNMP-MIB::ucdavis.255.2.2.3.7 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.8 = Counter32: 1516270
UCD-SNMP-MIB::ucdavis.255.2.2.3.9 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.10 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.11 = Counter32: 5902893
UCD-SNMP-MIB::ucdavis.255.2.2.3.12 = Counter32: 3212749
UCD-SNMP-MIB::ucdavis.255.2.2.3.13 = Counter32: 23365
UCD-SNMP-MIB::ucdavis.255.2.2.3.14 = Counter32: 24
UCD-SNMP-MIB::ucdavis.255.2.2.3.15 = Counter32: 604
UCD-SNMP-MIB::ucdavis.255.2.2.3.16 = Counter32: 2272781
UCD-SNMP-MIB::ucdavis.255.2.2.3.17 = Counter32: 1639
UCD-SNMP-MIB::ucdavis.255.2.2.3.18 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.19 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.3.20 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.1 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.2 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.3 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.4 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.5 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.6 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.7 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.8 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.9 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.10 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.11 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.12 = Counter32: 11
UCD-SNMP-MIB::ucdavis.255.2.2.4.13 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.14 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.15 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.16 = Counter32: 11
UCD-SNMP-MIB::ucdavis.255.2.2.4.17 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.18 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.19 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.4.20 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.1 = Counter32: 319522
UCD-SNMP-MIB::ucdavis.255.2.2.5.2 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.3 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.4 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.5 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.6 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.7 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.8 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.9 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.10 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.11 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.12 = Counter32: 3630762
UCD-SNMP-MIB::ucdavis.255.2.2.5.13 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.14 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.15 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.16 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.17 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.18 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.19 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.5.20 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.1 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.2 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.3 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.4 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.5 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.6 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.7 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.8 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.9 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.10 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.11 = Counter32: 167
UCD-SNMP-MIB::ucdavis.255.2.2.6.12 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.13 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.14 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.15 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.16 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.17 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.18 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.19 = Counter32: 0
UCD-SNMP-MIB::ucdavis.255.2.2.6.20 = Counter32: 0
Attachments
ncrrd.png
ncrrd.png (68.14 KiB) Viewed 7249 times
verbose query.png
verbose query.png (150.9 KiB) Viewed 7251 times
Ubuntu Server 9.04, NET-SNMP 5.4.1 , Cacti 0.8.7d+official patches , Kernel 2.6.28-11-server on i686 PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 Perl v5.10.0 built for i486-linux-gnu-thread-multi
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Post by Setarcos »

saaremaa wrote:Soft: Ubuntu Server 9.04, NET-SNMP 5.4.1 , Cacti 0.8.7d+official patches , Kernel 2.6.28-11-server on i686
1. I Has installed the program as it is written to instructions at start topic
2. Cacti get verbose SNMP data at my host (verbose query.png), but don`t create rrd. Please help :(
From the info you provided, it looks like this should be working. Do you see any poller errors related to these queries in the Cacti log file?
User avatar
saaremaa
Posts: 7
Joined: Thu Nov 13, 2008 4:37 am
Location: Russia, Kaliningrad

Post by saaremaa »

Do you see any poller errors related to these queries file?
No errors in the Cacti log write :-?
I manually created the rrd, but graphs are empty. rrd not receive data: (
I did not find the instructions on how to create graphics QOS.
Ubuntu Server 9.04, NET-SNMP 5.4.1 , Cacti 0.8.7d+official patches , Kernel 2.6.28-11-server on i686 PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 Perl v5.10.0 built for i486-linux-gnu-thread-multi
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest