Problems generating rrd files.
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
Problems generating rrd files.
I have a Cisco 3550 that refuses to be graphed. I'm am getting the XXXX.rrd file not found. I have a 2940 that was added and graphed with no problem. I have about 20 other hosts working and updating fine. Permissions are not the issue as I have made the rra/ directory world writable. I attempted to create the rrd files myself. Even when they are created they get nan values for the metrics. I can snmpwalk the host with out issues from the host running cacti. When I add the device to cacti it connects with no problems. When I add graphs all interfaces on the device including GBIC and routed VLANs show up. The host template is using the generic snmp enabled host. I have also tried switching up the counter types to 64bit as this device has some gig interfaces. SNMP and cacti are the current versions. This is running on a FreeBSD 6.1 Prerelease server. Any ideas?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What is the hosts status on the device page?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problems generating rrd files.
Did you verify, that the files you've created manually got the permissions needed for the poller to be able to update them (run myself into that too often )rickstewart wrote:...I attempted to create the rrd files myself. Even when they are created they get nan values for the metrics. ...
If this does not help, I'll need a snipped from your cacti.log in DEBUG mode related to that target
Reinhard
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
So I think the line below is my issue but I am not sure.
./r
Code: Select all
PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Code: Select all
07/28/2006 11:20:13 AM - CACTID: Poller[0] Host[33] DS[970] SNMP: v2: 192.168.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 1357654990
07/28/2006 11:20:13 AM - CACTID: Poller[0] Host[33] DS[984] SNMP: v2: 192.168.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, value: 1823655970
07/28/2006 11:20:13 AM - CACTID: Poller[0] Host[33] DS[970] SNMP: v2: 192.168.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 3013049729
07/28/2006 11:20:13 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/wrp003yyz_hdd_total_582.rrd --template hdd_used:hdd_total 1154100001:397017088:2145714176
07/28/2006 11:20:13 AM - CACTID: Poller[0] DEBUG: MySQL Insert ID '38': 'INSERT INTO poller_output (local_data_id,rrd_name,time,output) VALUES (970,'traffic_in','2006-07-28 11:20:01','1357654990'),(979,'traffic_in','2006-07-28 11:20:01','0'),(980,'traffic_in','2006-07-28 11:20:01','464671730'),(981,'traffic_in','2006-07-28 11:20:01','3766561297'),(982,'traffic_in','2006-07-28 11:20:01','641142580'),(983,'traffic_in','2006-07-28 11:20:01','896867762'),(984,'traffic_in','2006-07-28 11:20:01','1823655970'),(985,'traffic_in','2006-07-28 11:20:01','1683024499'),(986,'traffic_in','2006-07-28 11:20:01','134141496'),(987,'traffic_in','2006-07-28 11:20:01','3357765804'),(988,'traffic_in','2006-07-28 11:20:01','700796199'),(971,'traffic_in','2006-07-28 11:20:01','3794225327'),(989,'traffic_in','2006-07-28 11:20:01','0'),(990,'traffic_in','2006-07-28 11:20:01','495522428'),(991,'traffic_in','2006-07-28 11:20:01','1601445282'),(992,'traffic_in','2006-07-28 11:20:01','0'),(993,'traffic_in','2006-07-28 11:20:01','182460621'),(994,'traffic_in','2006-07-28 11:20:01','1377304152'),(995,'traffic_in','2006-07-28 11:20:01','2434441362'),(996,'traffic_in','2006-07-28 11:20:01','0'),(997,'traffic_in','2006-07-28 11:20:01','63773837'),(998,'traffic_in','2006-07-28 11:20:01','0'),(972,'traffic_in','2006-07-28 11:20:01','1457188566'),(999,'traffic_in','2006-07-28 11:20:01','0'),(1000,'traffic_in','2006-07-28 11:20:01','3665367994'),(1001,'traffic_in','2006-07-28 11:20:01','0'),(1002,'traffic_in','2006-07-28 11:20:01','3533313895'),(1003,'traffic_in','2006-07-28 11:20:01','0'),(1004,'traffic_in','2006-07-28 11:20:01','0'),(1005,'traffic_in','2006-07-28 11:20:01','0'),(1006,'traffic_in','2006-07-28 11:20:01','4234443188'),(1007,'traffic_in','2006-07-28 11:20:01','0'),(1008,'traffic_in','2006-07-28 11:20:01','6697'),(973,'traffic_in','2006-07-28 11:20:01','0'),(1009,'traffic_in','2006-07-28 11:20:01','38048597'),(1010,'traffic_in','2006-07-28 11:20:01','5760'),(1011,'traffic_in','2006-07-28 11:20:01','35494346'),(1012,'traffic_in','2006-07-28 11:20:01','1928222477'),(1013,'traffic_in','2006-07-28 11:20:01','0'),(1014,'traffic_in','2006-07-28 11:20:01','2218927803'),(1015,'traffic_in','2006-07-28 11:20:01','0'),(1016,'traffic_in','2006-07-28 11:20:01','142802784'),(974,'traffic_in','2006-07-28 11:20:01','790630002'),(1017,'traffic_in','2006-07-28 11:20:01','1112892802'),(975,'traffic_in','2006-07-28 11:20:01','0'),(976,'traffic_in','2006-07-28 11:20:01','1570416314'),(977,'traffic_in','2006-07-28 11:20:01','13225290'),(978,'traffic_in','2006-07-28 11:20:01','1018483457'),(970,'traffic_out','2006-07-28 11:20:01','3013049729'),(979,'traffic_out','2006-07-28 11:20:01','626213215'),(980,'traffic_out','2006-07-28 11:20:01','1472861601'),(981,'traffic_out','2006-07-28 11:20:01','1891452612'),(982,'traffic_out','2006-07-28 11:20:01','1661312515'),(983,'traffic_out','2006-07-28 11:20:01','1373388697'),(984,'traffic_out','2006-07-28 11:20:01','1996359354'),(985,'traffic_out','2006-07-28 11:20:01','2056881121'),(986,'traffic_out','2006-07-28 11:20:01','1306872038'),(987,'traffic_out','2006-07-28 11:20:01','2869115351'),(988,'traffic_out','2006-07-28 11:20:01','2315314105'),(971,'traffic_out','2006-07-28 11:20:01','777932489'),(989,'traffic_out','2006-07-28 11:20:01','0'),(990,'traffic_out','2006-07-28 11:20:01','1681670086'),(991,'traffic_out','2006-07-28 11:20:01','2609746348'),(992,'traffic_out','2006-07-28 11:20:01','634172231'),(993,'traffic_out','2006-07-28 11:20:01','2060584783'),(994,'traffic_out','2006-07-28 11:20:01','2375591955'),(995,'traffic_out','2006-07-28 11:20:01','1660749812'),(996,'traffic_out','2006-07-28 11:20:01','1520'),(997,'traffic_out','2006-07-28 11:20:01','630400646'),(998,'traffic_out','2006-07-28 11:20:01','0'),(972,'traffic_out','2006-07-28 11:20:01','4266201338'),(999,'traffic_out','2006-07-28 11:20:01','0'),(1000,'traffic_out','2006-07-28 11:20:01','848710287'),(1001,'traffic_out','2006-07-28 11:20:01','0'),(1002,'traffic_out','2006-07-28 11:20:01','603870172'),(1003,'traffic_out','2006-07-28 11:20:01','0'),(1004,'traffic_out','2006-07-28 11:20:01','0'),(1005,'traffic_oCACTID: Poller[0] 07/28/2006 11:20:13 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
That's definitevly not a welcomed message. But does it relate to your target? Do you run a script server script against your Cisco device?
When editing your device, get the devices number from the id field of the url shown in your browser. Find your host denoted as Host[<id>] in the DEBUG log
Reinhard
When editing your device, get the devices number from the id field of the url shown in your browser. Find your host denoted as Host[<id>] in the DEBUG log
Reinhard
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
I'm not sure, and I doubt it, I thought it may be importantThat's definitevly not a welcomed message. But does it relate to your target?
Ive tried no scripts, with scripts, generic snmp enabled host, host templates for this series device from this site, all fail.Do you run a script server script against your Cisco device?
None indicate any errors whatso ever.When editing your device, get the devices number from the id field of the url shown in your browser. Find your host denoted as Host[<id>] in the DEBUG log
I appreciate your asistance man.Reinhard
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
07/28/2006 11:45:12 AM - CACTID: Poller[0] Host[33] PING Result: UDP: Host is Alive
07/28/2006 11:45:12 AM - CACTID: Poller[0] Host[33] SNMP Result: Host responded to SNMP
07/28/2006 11:45:12 AM - CACTID: Poller[0] Host[33] RECACHE: Processing 1 items in the auto reindex cache for '192.168.0.254'
After that I get the oids and the values associated with them. I didnt include them as their are allot.
07/28/2006 11:45:12 AM - CACTID: Poller[0] Host[33] SNMP Result: Host responded to SNMP
07/28/2006 11:45:12 AM - CACTID: Poller[0] Host[33] RECACHE: Processing 1 items in the auto reindex cache for '192.168.0.254'
After that I get the oids and the values associated with them. I didnt include them as their are allot.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
So, Host[33] is the device in question? And you do get snmp values? So data gathering is working fine? You may want to check http://forums.cacti.net/viewtopic.php?t=15136 I've just created for more debugging hints, especially the rrd file specific ones. Please report your findings
Reinhard
Reinhard
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
Okay so I found something weird going on. When I kept adding and removing interfaces to be graphed I always did all interfaces on the whole device. So yesterday I decided to just graph a single vlan and leave it at that. I came into the office today and noticed the traffic over that vlan had been graphed. HOT!! It works, so I started adding graphs in groups of 3 interfaces. Its a 52 interface device so I thought It would take a while. I kept adding graphs and the data kept showing up. Problem solved I thought. I found that when I added interface 34,35,36 all of a sudden the graphs stopped. I didnt notice till an hour or so later. I thought this was odd. After some thought and a peek at the logs I decided to remove 1 graph. This did nothing. so I removed 2, with no result. I removed the 3rd and voila the graphs started again. I thought this was messed so I added another interface that hadnt been added before and the graphs stopped. I'm wondering if there is an upper limit on the ammounts of interfaces I can graph from one host? BTW, when the graphs stop, any new added dont get their rrd files created. Any thoughts on this?
Who is online
Users browsing this forum: No registered users and 1 guest