Templates for windows server 2016 and 2019

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

Moderators: Developers, Moderators

eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Templates for windows server 2016 and 2019

Post by eliassal »

Hi, can yyou please let me know where I can find templates for windows server 2019 and and win 10?
Thanks
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Sat Jan 15, 2022 4:09 am Hi, can yyou please let me know where I can find templates for windows server 2019 and and win 10?
Thanks
Hello, what do you need to graph in Windows? What version of cacti do you have installed?
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

Cacti version is 1.2.19, running on Fedora 35.
When I add a windows server or win 10 device, I go to graphs I see a lot of "Cacti Stats - Boost....." (around 18), which are almost all empty and see other 3 or 4 like
mydevice - Logged In Users
mydevice - Processes

where I would like to see network traffic graphs, RAM....

Same thing I need to monitor traffic on my router Draytek 2926, same thing, I see 40 graphs , same thing almost all traffic graphs are empty. I have already opened another thread before this one for the Draytek issue, at viewtopic.php?f=21&t=61988
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Mon Jan 17, 2022 1:47 pm Cacti version is 1.2.19, running on Fedora 35.
When I add a windows server or win 10 device, I go to graphs I see a lot of "Cacti Stats - Boost....." (around 18), which are almost all empty and see other 3 or 4 like
mydevice - Logged In Users
mydevice - Processes

where I would like to see network traffic graphs, RAM....

Same thing I need to monitor traffic on my router Draytek 2926, same thing, I see 40 graphs , same thing almost all traffic graphs are empty. I have already opened another thread before this one for the Draytek issue, at viewtopic.php?f=21&t=61988
Edit device and add in Data queries

SNMP - Get Mounted Partitions "Allows you to graph physical and virtual memory"

SNMP - Get Processor Information "Allows you to graph the cpu by core and total"

SNMP - Interface Statistics "Allows you to graph the network interfaces"

After adding, remember to create new graphics by selecting the ones you need.

comment
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

Ok I will do, right now but tell me, bteween the 4 options
None Uptime IndexCount Verify All

which one I should chose?

I have already added
SNMP - Interface Statistics
to a windows 10 device but no graph was added
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Mon Jan 17, 2022 3:27 pm Ok I will do, right now but tell me, bteween the 4 options
None Uptime IndexCount Verify All

which one I should chose?

I have already added
SNMP - Interface Statistics
to a windows 10 device but no graph was added

You are using the "Windows Device" template that comes by default with cacti 1.2.19, right?

Could you send what errors you get in the log please?
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:55:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:55:09 - SYSTEM STATS: Time:7.3895 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:55:05 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk Bytes], DS[salam7 - Combined SCSI Disk Bytes] Graphs[salam7 - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk I/O], DS[salam7 - Combined SCSI Disk I/O] Graphs[salam7 - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Context Switches], DS[salam7 - Context Switches] Graphs[salam7 - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Interrupts], DS[salam7 - Interrupts] Graphs[salam7 - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - CPU Utilization], DS[salam7 - CPU - Idle, salam7 - CPU - System, salam7 - CPU - User] Graphs[salam7 - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Load Average], DS[salam7 - Load Average - 1 Minute, salam7 - Load Average - 15 Minute, salam7 - Load Average - 5 Minute] Graphs[salam7 - Load Average]
2022-01-17 21:55:01 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Load Average]
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:50:11 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:50:11 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:50:10 - SYSTEM STATS: Time:8.3470 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:45:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:45:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:45:09 - SYSTEM STATS: Time:7.3913 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:40:12 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:40:12 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:40:12 - SYSTEM STATS: Time:9.3669 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:35:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:35:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:35:09 - SYSTEM STATS: Time:7.3157 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:30:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:30:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:30:10 - SYSTEM STATS: Time:7.4855 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:29:34 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Buffers, salam7 - Memory - Cache, salam7 - Memory - Free, salam7 - Memory - Total] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:33 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Memory Usage]
2022-01-17 21:29:22 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Free, salam7 - Memory - Free Swap] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:21 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Linux - Memory Usage]
2022-01-17 21:25:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:25:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:25:09 - SYSTEM STATS: Time:7.3639 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:20:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:20:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:20:10 - SYSTEM STATS: Time:7.4005 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:15:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:15:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:15:09 - SYSTEM STATS: Time:7.3134 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:10:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:10:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:10:10 - SYSTEM STATS: Time:7.3465 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:08 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:08 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:08 - SYSTEM STATS: Time:6.4023 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[338171] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:05:01 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:01 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:01 - SYSTEM STATS: Time:298.7287 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:99 RRDsProcessed:90
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[310646] Maximum runtime of 298 seconds exceeded. Exiting.
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk Bytes], DS[SQL2K12.salam.net - Combined SCSI Disk Bytes] Graphs[SQL2K12.salam.net - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk I/O], DS[SQL2K12.salam.net - Combined SCSI Disk I/O] Graphs[SQL2K12.salam.net - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Context Switches], DS[SQL2K12.salam.net - Context Switches] Graphs[SQL2K12.salam.net - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Interrupts], DS[SQL2K12.salam.net - Interrupts] Graphs[SQL2K12.salam.net - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - CPU Utilization], DS[SQL2K12.salam.net - CPU - Idle, SQL2K12.salam.net - CPU - System, SQL2K12.salam.net - CPU - User] Graphs[SQL2K12.salam.net - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Memory Usage], DS[SQL2K12.salam.net - Memory - Buffers, SQL2K12.salam.net - Memory - Cache, SQL2K12.salam.net - Memory - Free, SQL2K12.salam.net - Memory - Total] Graphs[SQL2K12.salam.net - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Load Average], DS[SQL2K12.salam.net - Load Average - 1 Minute, SQL2K12.salam.net - Load Average - 15 Minute, SQL2K12.salam.net - Load Average - 5 Minute] Graphs[SQL2K12.salam.net - Load Average]
2022-01-17 21:03:07 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Load Average]
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:00:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:03 - ERROR PHP ERROR: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, null given in /usr/share/cacti/lib/poller.php:77 Stack trace: #0 /usr/share/cacti/lib/poller.php(77): fwrite() #1 /usr/share/cacti/cmd.php(786): exec_poll_php() #2 /usr/share/cacti/cmd.php(349): ping_and_reindex_check() #3 {main} thrown in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:exec_poll_php(), /lib/poller.php[77]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Undefined variable $pipes in file: /usr/share/cacti/cmd.php on line: 786
2022-01-17 21:00:02 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:00:02 - POLLER: Poller[Main Poller] PID[310646] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:00:00 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:00 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

some of them were with background in RED
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Mon Jan 17, 2022 3:59 pm 2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:55:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:55:09 - SYSTEM STATS: Time:7.3895 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:55:05 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk Bytes], DS[salam7 - Combined SCSI Disk Bytes] Graphs[salam7 - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk I/O], DS[salam7 - Combined SCSI Disk I/O] Graphs[salam7 - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Context Switches], DS[salam7 - Context Switches] Graphs[salam7 - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Interrupts], DS[salam7 - Interrupts] Graphs[salam7 - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - CPU Utilization], DS[salam7 - CPU - Idle, salam7 - CPU - System, salam7 - CPU - User] Graphs[salam7 - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Load Average], DS[salam7 - Load Average - 1 Minute, salam7 - Load Average - 15 Minute, salam7 - Load Average - 5 Minute] Graphs[salam7 - Load Average]
2022-01-17 21:55:01 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Load Average]
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:50:11 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:50:11 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:50:10 - SYSTEM STATS: Time:8.3470 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:45:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:45:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:45:09 - SYSTEM STATS: Time:7.3913 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:40:12 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:40:12 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:40:12 - SYSTEM STATS: Time:9.3669 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:35:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:35:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:35:09 - SYSTEM STATS: Time:7.3157 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:30:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:30:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:30:10 - SYSTEM STATS: Time:7.4855 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:29:34 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Buffers, salam7 - Memory - Cache, salam7 - Memory - Free, salam7 - Memory - Total] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:33 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Memory Usage]
2022-01-17 21:29:22 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Free, salam7 - Memory - Free Swap] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:21 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Linux - Memory Usage]
2022-01-17 21:25:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:25:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:25:09 - SYSTEM STATS: Time:7.3639 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:20:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:20:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:20:10 - SYSTEM STATS: Time:7.4005 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:15:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:15:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:15:09 - SYSTEM STATS: Time:7.3134 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:10:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:10:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:10:10 - SYSTEM STATS: Time:7.3465 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:08 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:08 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:08 - SYSTEM STATS: Time:6.4023 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[338171] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:05:01 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:01 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:01 - SYSTEM STATS: Time:298.7287 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:99 RRDsProcessed:90
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[310646] Maximum runtime of 298 seconds exceeded. Exiting.
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk Bytes], DS[SQL2K12.salam.net - Combined SCSI Disk Bytes] Graphs[SQL2K12.salam.net - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk I/O], DS[SQL2K12.salam.net - Combined SCSI Disk I/O] Graphs[SQL2K12.salam.net - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Context Switches], DS[SQL2K12.salam.net - Context Switches] Graphs[SQL2K12.salam.net - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Interrupts], DS[SQL2K12.salam.net - Interrupts] Graphs[SQL2K12.salam.net - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - CPU Utilization], DS[SQL2K12.salam.net - CPU - Idle, SQL2K12.salam.net - CPU - System, SQL2K12.salam.net - CPU - User] Graphs[SQL2K12.salam.net - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Memory Usage], DS[SQL2K12.salam.net - Memory - Buffers, SQL2K12.salam.net - Memory - Cache, SQL2K12.salam.net - Memory - Free, SQL2K12.salam.net - Memory - Total] Graphs[SQL2K12.salam.net - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Load Average], DS[SQL2K12.salam.net - Load Average - 1 Minute, SQL2K12.salam.net - Load Average - 15 Minute, SQL2K12.salam.net - Load Average - 5 Minute] Graphs[SQL2K12.salam.net - Load Average]
2022-01-17 21:03:07 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Load Average]
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:00:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:03 - ERROR PHP ERROR: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, null given in /usr/share/cacti/lib/poller.php:77 Stack trace: #0 /usr/share/cacti/lib/poller.php(77): fwrite() #1 /usr/share/cacti/cmd.php(786): exec_poll_php() #2 /usr/share/cacti/cmd.php(349): ping_and_reindex_check() #3 {main} thrown in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:exec_poll_php(), /lib/poller.php[77]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Undefined variable $pipes in file: /usr/share/cacti/cmd.php on line: 786
2022-01-17 21:00:02 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:00:02 - POLLER: Poller[Main Poller] PID[310646] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:00:00 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:00 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
I see, you have several errors.

Since what date have you installed the cacti?

The process was manual or by "yum install cacti"

Something tells me to add some code in cmd.php

I fixed a similar bug looking for the solution on github (I have looked for the link in the history and I have lost it :( )

where the solution was to add: $poller_id,

line 699 global $poller_id, $print_data_to_stdout, $sessions, $set_spike_kill, $poller_db_cnn_id, $cactiphp, $using_proc_function;

You could create a copy of /usr/share/cacti/cmd.php and try adding poller_id in line 699

then I restarted the cacti server and also did a reindex and everything works

tell us how it goes.

excuse my english, i use google translate
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

copemi wrote: Mon Jan 17, 2022 4:54 pm
eliassal wrote: Mon Jan 17, 2022 3:59 pm 2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:14 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:14 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:55:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:55:09 - SYSTEM STATS: Time:7.3895 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:55:05 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk Bytes], DS[salam7 - Combined SCSI Disk Bytes] Graphs[salam7 - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Combined SCSI Disk I/O], DS[salam7 - Combined SCSI Disk I/O] Graphs[salam7 - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Context Switches], DS[salam7 - Context Switches] Graphs[salam7 - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Context Switches]
2022-01-17 21:55:04 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Interrupts], DS[salam7 - Interrupts] Graphs[salam7 - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Interrupts]
2022-01-17 21:55:03 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - CPU Utilization], DS[salam7 - CPU - Idle, salam7 - CPU - System, salam7 - CPU - User] Graphs[salam7 - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:55:02 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Load Average], DS[salam7 - Load Average - 1 Minute, salam7 - Load Average - 15 Minute, salam7 - Load Average - 5 Minute] Graphs[salam7 - Load Average]
2022-01-17 21:55:01 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Load Average]
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:55:01 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:55:01 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:50:11 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:50:11 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:50:10 - SYSTEM STATS: Time:8.3470 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:45:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:45:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:45:09 - SYSTEM STATS: Time:7.3913 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:40:12 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:40:12 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:40:12 - SYSTEM STATS: Time:9.3669 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:35:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:35:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:35:09 - SYSTEM STATS: Time:7.3157 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:30:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:30:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:30:10 - SYSTEM STATS: Time:7.4855 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:119 RRDsProcessed:115
2022-01-17 21:29:34 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Buffers, salam7 - Memory - Cache, salam7 - Memory - Free, salam7 - Memory - Total] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:33 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Net-SNMP - Memory Usage]
2022-01-17 21:29:22 - AUTOM8 NOTE: Graph Added - Device[salam7], Graph[salam7 - Memory Usage], DS[salam7 - Memory - Free, salam7 - Memory - Free Swap] Graphs[salam7 - Memory Usage]
2022-01-17 21:29:21 - AUTOM8 NOTE: Data Check Succeeded for - Device[salam7], GT[Linux - Memory Usage]
2022-01-17 21:25:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:25:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:25:09 - SYSTEM STATS: Time:7.3639 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:20:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:20:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:20:10 - SYSTEM STATS: Time:7.4005 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:15:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:15:09 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:15:09 - SYSTEM STATS: Time:7.3134 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:10:10 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:10:10 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:10:10 - SYSTEM STATS: Time:7.3465 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:08 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:08 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:08 - SYSTEM STATS: Time:6.4023 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:113 RRDsProcessed:109
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[338171] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:05:01 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:05:01 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
2022-01-17 21:05:01 - SYSTEM STATS: Time:298.7287 Method:cmd.php Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:99 RRDsProcessed:90
2022-01-17 21:05:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:05:01 - POLLER: Poller[Main Poller] PID[310646] Maximum runtime of 298 seconds exceeded. Exiting.
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:51 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:51 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:48 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[108]:host_change_query(), /host.php[593]:api_device_dq_change(), /lib/api_device.php[494]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:48 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk Bytes], DS[SQL2K12.salam.net - Combined SCSI Disk Bytes] Graphs[SQL2K12.salam.net - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk Bytes]
2022-01-17 21:03:12 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Combined SCSI Disk I/O], DS[SQL2K12.salam.net - Combined SCSI Disk I/O] Graphs[SQL2K12.salam.net - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Combined SCSI Disk I/O]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Context Switches], DS[SQL2K12.salam.net - Context Switches] Graphs[SQL2K12.salam.net - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Context Switches]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Interrupts], DS[SQL2K12.salam.net - Interrupts] Graphs[SQL2K12.salam.net - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Interrupts]
2022-01-17 21:03:11 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - CPU Utilization], DS[SQL2K12.salam.net - CPU - Idle, SQL2K12.salam.net - CPU - System, SQL2K12.salam.net - CPU - User] Graphs[SQL2K12.salam.net - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - CPU Utilization]
2022-01-17 21:03:10 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Memory Usage], DS[SQL2K12.salam.net - Memory - Buffers, SQL2K12.salam.net - Memory - Cache, SQL2K12.salam.net - Memory - Free, SQL2K12.salam.net - Memory - Total] Graphs[SQL2K12.salam.net - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Memory Usage]
2022-01-17 21:03:08 - AUTOM8 NOTE: Graph Added - Device[SQL2K12.salam.net], Graph[SQL2K12.salam.net - Load Average], DS[SQL2K12.salam.net - Load Average - 1 Minute, SQL2K12.salam.net - Load Average - 15 Minute, SQL2K12.salam.net - Load Average - 5 Minute] Graphs[SQL2K12.salam.net - Load Average]
2022-01-17 21:03:07 - AUTOM8 NOTE: Data Check Succeeded for - Device[SQL2K12.salam.net], GT[Net-SNMP - Load Average]
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "script_path" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:03:07 - CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[270]:api_device_save(), /lib/api_device.php[813]:api_device_update_host_template(), /lib/api_device.php[938]:run_data_query(), /lib/data_query.php[108]:query_script_host(), /lib/data_query.php[647]:CactiErrorHandler())
2022-01-17 21:03:07 - ERROR PHP WARNING: Undefined array key "arg_index" in file: /usr/share/cacti/lib/data_query.php on line: 647
2022-01-17 21:00:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:03 - ERROR PHP ERROR: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, null given in /usr/share/cacti/lib/poller.php:77 Stack trace: #0 /usr/share/cacti/lib/poller.php(77): fwrite() #1 /usr/share/cacti/cmd.php(786): exec_poll_php() #2 /usr/share/cacti/cmd.php(349): ping_and_reindex_check() #3 {main} thrown in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:exec_poll_php(), /lib/poller.php[77]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /usr/share/cacti/lib/poller.php on line: 77
2022-01-17 21:00:03 - CMDPHP PHP ERROR WARNING Backtrace: (/cmd.php[349]:ping_and_reindex_check(), /cmd.php[786]:CactiErrorHandler())
2022-01-17 21:00:03 - ERROR PHP WARNING: Undefined variable $pipes in file: /usr/share/cacti/cmd.php on line: 786
2022-01-17 21:00:02 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-01-17 21:00:02 - POLLER: Poller[Main Poller] PID[310646] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
2022-01-17 21:00:00 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-01-17 21:00:00 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: array & bool in /usr/share/cacti/lib/mib_cache.php:359 Stack trace: #0 /usr/share/cacti/lib/snmpagent.php(471): MibCache->update() #1 /usr/share/cacti/poller.php(822): snmpagent_poller_bottom() #2 {main} thrown in file: /usr/share/cacti/lib/mib_cache.php on line: 359
I see, you have several errors.

Since what date have you installed the cacti?

The process was manual or by "yum install cacti"

Something tells me to add some code in cmd.php

I fixed a similar bug looking for the solution on github (I have looked for the link in the history and I have lost it :( )

where the solution was to add: $poller_id,

line 699 global $poller_id, $print_data_to_stdout, $sessions, $set_spike_kill, $poller_db_cnn_id, $cactiphp, $using_proc_function;

You could create a copy of /usr/share/cacti/cmd.php and try adding poller_id in line 699

then I restarted the cacti server and also did a reindex and everything works

tell us how it goes.

excuse my english, i use google translate


https://github.com/Cacti/cacti/commit/e ... 5f5e96c287 "Error pipes"
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

I did the setup last week. After installing all prerequisites (Apache, MariaDB, PHP , PHP-SNMP NET-SNMP, RRDTool)

I used

Code: Select all

sudo dnf install cacti 
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

I did add $poller_id, retarted the server again same errors as you can notice in the snapshot

https://salam.hd.free.fr/Blogengine/Cacti-Error.jpg
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Tue Jan 18, 2022 3:11 am I did the setup last week. After installing all prerequisites (Apache, MariaDB, PHP , PHP-SNMP NET-SNMP, RRDTool)

I used

Code: Select all

sudo dnf install cacti 

Finishing the installation

You entered your website via browser web and automatically entered to install http://your-ip-cacti/cacti/install? or directly the cacti was working http://your-ip-cacti/cacti?

in either case
you could enter http://your-op-cacti/cacti/install

to check that everything is correct
eliassal
Cacti User
Posts: 51
Joined: Thu Jan 13, 2022 12:13 pm

Re: Templates for windows server 2016 and 2019

Post by eliassal »

I typed myhost/cacti and setup started. I had some warnings and erros which I fixed then everything got a green check and I proceeded

I tried http://myhost/cacti/install I get redirected to index.php
copemi
Posts: 13
Joined: Tue Sep 10, 2019 1:11 pm

Re: Templates for windows server 2016 and 2019

Post by copemi »

eliassal wrote: Tue Jan 18, 2022 10:48 am I typed myhost/cacti and setup started. I had some warnings and erros which I fixed then everything got a green check and I proceeded

I tried http://myhost/cacti/install I get redirected to index.php
If the installation was successful, then it would be necessary to correct the problems one at a time.

1.) Are the interfaces still not graphed? or that does not graph in windows?

2.) try this too, it fixed other problems for me too

https://github.com/Cacti/cacti/commit/e ... 5f5e96c287
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests