device status "Unknown" for all new devices

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
JimDiGriz
Posts: 17
Joined: Tue Apr 06, 2021 5:09 am

device status "Unknown" for all new devices

Post by JimDiGriz »

Dear Cacti community,

I faced with issue in my environment when I add a new device, create a list of graphs for it the status is "Unknown". Device itself is reachable, cacti gets snmp info and ping response back.
Downed Device Detection method - "Ping and SNMP uptime".
I have added 285 devices manually without any issues, but above this amount all new ones become "Unknown".
I checked all possible cases with similar issue, but no one matched my case.

Has anyone faced with similar issue? Any idea how to solve it? Seems like a performance issue and amount of more than 285 devices gets cacti stop working properly.

My setup info:

Cacti Version 1.2.15
Cacti OS unix
NET-SNMP Version NET-SNMP version: 5.7.2
RRDtool Version Configured 1.4.0+
RRDtool Version Found 1.4.8
Devices 283
Graphs 13,478
Data Sources Script/Command: 10
SNMP Get: 136
SNMP Query: 13,316
Total: 13,462

Interval 300
Type SPINE 1.2.15
Items Action[0]: 26,768
Action[1]: 10
Total: 26,778
Concurrent Processes 2
Max Threads 12
PHP Servers 3
Script Timeout 25
Max OID 10
Last Run Statistics Time:278.0279
Method: spine
Processes:4
Threads:1
Hosts:283
HostsPerProcess:71
DataSources:26778
RRDsProcessed:13322
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: device status "Unknown" for all new devices

Post by cigamit »

Your poller is taking a long time to complete. Can you display your stats line from the log?
I would increase your procs/threads under Data Collectors.
JimDiGriz
Posts: 17
Joined: Tue Apr 06, 2021 5:09 am

Re: device status "Unknown" for all new devices

Post by JimDiGriz »

Looks like you're right. I checked Data Collector settings for my main poller and increased process to 8 (was 1) and Threads to 8 (was 1).
I'm going to add 200+ devices there and will see how it helps.
JimDiGriz
Posts: 17
Joined: Tue Apr 06, 2021 5:09 am

Re: device status "Unknown" for all new devices

Post by JimDiGriz »

cigamit wrote: Tue Apr 06, 2021 9:43 am Your poller is taking a long time to complete. Can you display your stats line from the log?
I would increase your procs/threads under Data Collectors.
Could you please advise for number procs/threads ? I've set a VM CentOs 7.x with 4 vCPU and 8 GB RAM.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: device status "Unknown" for all new devices

Post by cigamit »

Typically I do 1 Process per vCPU (some people do 2), and then ~12 threads. I then tune the threads up or down based upon the load on my Cacti server.
JimDiGriz
Posts: 17
Joined: Tue Apr 06, 2021 5:09 am

Re: device status "Unknown" for all new devices

Post by JimDiGriz »

Thanks for advice!

My issue was resolved with this tune, much appreciated for your help!
emil0512
Posts: 3
Joined: Sat Apr 17, 2021 4:53 pm

Re: device status "Unknown" for all new devices

Post by emil0512 »

Hi. I have also issues on the unknown devices. May I know where can I see the Process? As I checked, threads was 1 and I switched to 6. But still in unknown state. Kindly help. TY.
JimDiGriz
Posts: 17
Joined: Tue Apr 06, 2021 5:09 am

Re: device status "Unknown" for all new devices

Post by JimDiGriz »

emil0512 wrote: Mon Apr 19, 2021 9:09 pm Hi. I have also issues on the unknown devices. May I know where can I see the Process? As I checked, threads was 1 and I switched to 6. But still in unknown state. Kindly help. TY.
What is your cacti version ? Is it a new installation? My issue was with amount of running devices, cacti itself was working well.
emil0512
Posts: 3
Joined: Sat Apr 17, 2021 4:53 pm

Re: device status "Unknown" for all new devices

Post by emil0512 »

Hi. Cacti Version 1.2.15. Same scenario on the original post except for add new device. ICMP and ping are working fine but the devices is unknown. Realtime graph is working.
emil0512
Posts: 3
Joined: Sat Apr 17, 2021 4:53 pm

Re: device status "Unknown" for all new devices

Post by emil0512 »

I mean SNMP is good and ping. But still unknown device.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: device status "Unknown" for all new devices

Post by cigamit »

Post your STATS line from the cacti log.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests