totalling 22 Data Sources. Please Either Re-Index, Delete or[solved]

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Author
Message
majed17
Cacti User
Posts: 58
Joined: Thu Jul 17, 2014 10:24 pm

Re: totalling 22 Data Sources. Please Either Re-Index, Delete or

#46 Post by majed17 » Mon Aug 26, 2019 3:10 am

with the latest commit of 1.2.x and spine develop i get :

Code: Select all

2019/08/26 11:08:32 - WEBUI Found Valid 'Graph Template' priming cache
2019/08/26 11:08:32 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:08:32 - WEBUI Obtaining 'Graph Template' cache
2019/08/26 11:08:32 - WEBUI Fetch InitRows:-2, Hash:80273e08c9e5f93672b7986f82875b97
2019/08/26 11:08:25 - WEBUI Found Valid 'Graph Template' priming cache
2019/08/26 11:08:25 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:08:25 - WEBUI Obtaining 'Graph Template' cache
2019/08/26 11:08:22 - WEBUI Found Valid 'Graph Template' priming cache
2019/08/26 11:08:22 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:08:22 - WEBUI Obtaining 'Graph Template' cache
2019/08/26 11:08:20 - WEBUI Found Valid 'Graph Template' priming cache
2019/08/26 11:08:20 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:08:20 - WEBUI Obtaining 'Graph Template' cache
2019/08/26 11:08:20 - WEBUI Fetch InitRows:-2, Hash:80273e08c9e5f93672b7986f82875b97
2019/08/26 11:04:37 - WEBUI Store InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:04:37 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/26 11:04:37 - WEBUI Obtaining 'Graph Template' cache
2019/08/26 11:04:36 - WEBUI Fetch InitRows:-2, Hash:80273e08c9e5f93672b7986f82875b97
2019/08/26 11:04:36 - WEBUI Store InitRows:-1, Hash:80273e08c9e5f93672b7986f82875b97
2019/08/26 11:04:36 - WEBUI Priming 'Device' cache
2019/08/26 10:57:00 - SNMP WARNING: SNMP Error:'Timeout (500 ms)', Device0.10:'18.131.1', OID:'.1.3.6.1.2.1.31.1.1.1.6.9'
doesn't seem like the poller is running
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: totalling 22 Data Sources. Please Either Re-Index, Delete or

#47 Post by netniV » Mon Aug 26, 2019 8:33 am

I would suggest that you buy a copy of Thomas Urban's Cacti book as that would really help you out because it goes through a lot of the steps an admin of cacti needs to know. IMHO, you seem to be having multiple issues that could benefit from some proper support though.

majed17
Cacti User
Posts: 58
Joined: Thu Jul 17, 2014 10:24 pm

Re: totalling 22 Data Sources. Please Either Re-Index, Delete or

#48 Post by majed17 » Tue Aug 27, 2019 1:33 am

Today it is back to were we started, i skimmed the book and repaired the database...now i get
2019/08/27 09:30:33 - WEBUI Found Valid 'Graph Template' priming cache
2019/08/27 09:30:33 - WEBUI Fetch InitRows:-1, Hash:1597d7f033a83a19f5b1a2356ce08ea0
2019/08/27 09:30:33 - WEBUI Obtaining 'Graph Template' cache
2019/08/27 09:30:33 - WEBUI Fetch InitRows:-2, Hash:80273e08c9e5f93672b7986f82875b97
2019/08/27 09:30:02 - POLLER: Poller[Main Poller] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300.28', Max Runtime '298', Poller Runs: '1'
2019/08/27 09:30:02 - REPORTS Cacti Reports reports found: 0
2019/08/27 09:30:01 - SYSTEM STATS: Time:299.5861 Method:spine Processes:2 Threads:5 Hosts:37 HostsPerProcess:19 DataSources:4290 RRDsProcessed:0
2019/08/27 09:30:01 - MAILER INFO: Mail successfully sent via SMTP from 'cacti <[email protected]>', to 'me <[email protected]>', cc '', Subject 'Cacti System Warning'
2019/08/27 09:30:01 - POLLER: Poller[Main Poller] Maximum runtime of 298 seconds exceeded. Exiting.
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: totalling 22 Data Sources. Please Either Re-Index, Delete or

#49 Post by netniV » Tue Aug 27, 2019 7:33 am

We will need full logs then, set your logging to full and email the cacti.log after a couple of pollings. You'll probably then want to reduce it again so that it's not filling up your disk space.

majed17
Cacti User
Posts: 58
Joined: Thu Jul 17, 2014 10:24 pm

Re: totalling 22 Data Sources. Please Either Re-Index, Delete or

#50 Post by majed17 » Thu Aug 29, 2019 12:47 am

a

Code: Select all

sudo chmod 775 -R /var/www/localhost/htdocs/cacti/log/
solved the problem
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!

Post Reply