The purpose here is to monitor the input and output on the various network interfaces on this machine. The machine that Cacti is running on is my gateway/router machine, and it has two subnets ... a public /29 and a private 192.168.0.0/24. I want to see a graph of what's coming from and going to where... mostly because I like pretty graphs. Who doesn't?
I fumbled around for a while and got SNMP working on the server so that it returened appropriate values. Then I went into the Cacti console and, after spending some quality time with the documentation, selected 'New Graph', the three interfaces in "Data Query - SNMP Interface Sadistics", and In/Out Bits with 95th Percentile. I hit Create. I waited for my beautifulness to appear.
I got nothing except for a text link with a magnifying glass next to it. I said, "Ok, there probably isn't any data. I'll let poller run a few times." After poller ran a few times, I went and clicked on graph management and debug, and it gave me the error that no rrd file was there. So I let poller run a few more times. Still no rrd file.
After poking around a little bit, I found that SMTP wasn't working correctly... according to the logs at least. At first, I couldn't get SNMP to work at all. I'd get this in my poller.php log:
Code: Select all
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: snmp_oid, oid: .1.3.6.1.2.1.4.20.1.2, output: U
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 30840
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 172411
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 19814211
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 32440
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 180830
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 55386754
04/03/2005 02:20:03 PM - CMDPHP: Poller[0] Time: 0.8570 s, Theads: N/A, Hosts: 1
04/03/2005 02:20:04 PM - SYSTEM STATS: Time: 2.1744 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
Code: Select all
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 30840
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 183150
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 174623
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 55488347
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 20349460
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 32440
04/03/2005 02:30:03 PM - CMDPHP: Poller[0] Time: 0.8437 s, Theads: N/A, Hosts: 1
04/03/2005 02:30:04 PM - SYSTEM STATS: Time: 2.1762 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
No clue. This is where I'm stuck, ladies and germs. Everything looks right to me. I've got data templates, data sources that point to where the files should be, data queries, and everything else. I don't know what to tell you that would be of value in solving this problem, so I'll just throw myself upon the mercy of the community here... what do you need to know to help me get this thing working?