Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 5:55 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CACTI poller issue
PostPosted: Tue Feb 19, 2019 10:27 am 
Offline

Joined: Tue Feb 19, 2019 10:08 am
Posts: 3
Hi to everyone,

I'm kind of new to Cacti and have been struggling with an issue for hours, all the install process was successful but the graphs are showing me
Quote:
the cacti poller has not run yet

I went into cacti's log file and found this:

Code:
2019/02/19 12:55:10 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[131]:api_device_ping_device(), /lib/api_device.php[1023]:cacti_snmp_session(), /lib/snmp.php[67]:SNMP->__construct(), CactiErrorHandler())
2019/02/19 12:55:10 - ERROR PHP WARNING: SNMP::__construct(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in file: /var/www/html/lib/snmp.php on line: 67


I have tried to solve this issue by myself by using spine instead of the default cmd.php poller but haven't found any solution yet and still do not know the reason why i get those two error messages.

Thanks for all the people who are willing to help and if you need some more informations i would be glad to answer.

cacti: 1.2.1
MariadB: 5.1
spine: 1.2.1
php: 7.0


Top
 Profile  
 
 Post subject: Re: CACTI poller issue
PostPosted: Tue Feb 19, 2019 11:40 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
Sounds like you have a DNS resolution problem and posted the same issue twice :)

_________________
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 poller issue
PostPosted: Wed Feb 20, 2019 3:08 am 
Offline

Joined: Tue Feb 19, 2019 10:08 am
Posts: 3
Yes sorry, i know but could'nt figure out how to delete the old post, thanks for your answer but i have solved my issue by making a cronjob, so that the poller runs every 5min i don't know if it's the solution to my problem but now the log does not show me errors and network scans are running.

Thanks for all.


Top
 Profile  
 
 Post subject: Re: CACTI poller issue
PostPosted: Wed Feb 20, 2019 9:04 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
The two are unrelated, but having no cron job means that the poller would never run.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 4 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