Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Feb 19, 2019 12:05 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Cacti rrd files
PostPosted: Fri Dec 28, 2018 11:21 am 
Offline

Joined: Wed Nov 14, 2018 11:49 am
Posts: 8
Hello,

I am running Cacti 1.1.38, most of my graphs are graphing correctly. I do have one set that are not graphing any data. I did notice that the .rrd files are not updating for those graphs, I have gone through the debug steps but no luck.

I can do a snmpwalk and snmpget to the the server with the oid. I did try to manually update an rrd but it did it once and will not continue to do so, I continue to get -nan when I fetch the .rrd files from that server. I have the correct permissions for the graphs.

Any help would be great...Thansk

when I run the fetch I get.
1546014000: -nan -nan
1546014060: -nan -nan
1546014120: -nan -nan


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Mon Dec 31, 2018 6:49 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 744
Permissions + poller cache inspection. Last, put the device into debug mode and look for errors.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Thu Jan 03, 2019 4:28 pm 
Offline

Joined: Wed Nov 14, 2018 11:49 am
Posts: 8
I think I found my problem, I am currently polling two servers that are a like. When I rebuild the device for one of them it starts working and the other one stops, and vice versa. I can only get one of the two servers to run at one time, all of my other servers are graphing as expected.

I tried to change the name and the community string on the devices but once one of them are working the other one quits.(strange) I can manually update the rrd file but then It will not continue to poll it.

Any ideas???


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Fri Jan 04, 2019 4:03 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2063
Check the hostname, if the hostname is different, check that they are not resolving to the same machine (ie, if the IP is the same or if the same machine is hosting both IPs).

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Fri Jan 04, 2019 9:07 am 
Offline

Joined: Wed Nov 14, 2018 11:49 am
Posts: 8
NetniV,

They are two different servers, and both have a different IP, they are on the same subnet, have the same naming structure, and have the same community string. That's when I changed the naming and the community string to see if it would help but it did not.

I have an old graphing server that is graphing both of those servers and I merely copied the devices on mine to match it exactly but no luck. This old server is running cacti 0.8.8b, and my new one is running cacti 1.1.38.

I am pulling with cmd.php, do you think switching to spine would make a difference?

Also when I put it into debug mode and watch the logs it only shows the one that it is pulling the one that is having issues dose not show up in the log unless I manually pull it. Then it will show up one time and then done.

thanks


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Fri Jan 04, 2019 10:17 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2063
If you look at the device status, do they both show as up? What device status detection method are you using?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Fri Jan 04, 2019 10:34 am 
Offline

Joined: Wed Nov 14, 2018 11:49 am
Posts: 8
Yes they both show as up, and shows the correct up-time. I am using SNMP - Interface Statistics with an re-index method of up-time. Both give me an success status.


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Fri Jan 04, 2019 10:58 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2063
SNMP details are held against the device. Your data sources can only be associated with one host. Therefore, I would suggest debugging one host at a given time.

Edit one of the devices, verify the SNMP details (make sure to save any changes) then enable the debug option at the top and then check the log files for the responses. When you are happy that device is working, disable the debug and move onto the other device, rinse and repeat.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti rrd files
PostPosted: Wed Jan 09, 2019 4:54 pm 
Offline

Joined: Wed Nov 14, 2018 11:49 am
Posts: 8
NetniV,

I ended up installing spine, and this solved my issue. I would put the device in debug but it didn't give any errors or problems with that device, if I left them both on and put one in debug it wouldn't give me any info on it at all. I was a strange problem but with spine everything is working fine.

Thanks for your help!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group