Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 24, 2019 4:35 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Custom script creating a graph collects garbage data
PostPosted: Fri Feb 08, 2019 7:22 am 
Offline

Joined: Tue Mar 31, 2015 4:54 pm
Posts: 11
Hi,

I have a problem with graphing a script output.
I am running the latest version of Cacti on RHEL 7.5. Standard poller ran every minute.


Code:
Date   Fri, 08 Feb 2019 15:25:09 +0200
Cacti Version   1.2.1
Cacti OS   unix
RSA Fingerprint   (...)
NET-SNMP Version   NET-SNMP version: 5.7.2
RRDtool Version Configured   1.4.0+
RRDtool Version Found   1.4.8
Devices   2
Graphs   30
Data Sources   Script/Command: 7
SNMP Get: 14
SNMP Query: 2
Script Query: 9
Script Server: 2
Script Query - Script Server: 6
Total: 40
PHP Version   5.4.16
PHP Version 5.5.0+ is recommended due to strong password hashing support.
PHP OS   Linux
PHP uname   Linux hostname.example.com 3.10.0-862.11.6.el7.x86_64 #1 SMP Fri Aug 10 16:55:11 UTC 2018 x86_64
PHP SNMP   Not Installed
max_execution_time   60
memory_limit   1024M


The script returns a single float value:

[[email protected] cacti]$ php /scripts/cored_cacti_select.php
98.1[[email protected] cacti]$

In the debug log I can see correct values returned:

Code:
2019/02/08 14:04:03 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 2
2019/02/08 14:03:03 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 97.8
2019/02/08 14:02:02 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 4
2019/02/08 14:01:03 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 0
2019/02/08 14:00:03 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 0


But exporting graph values yields:

Code:
2019-02-08 14:00:00   -   -
2019-02-08 14:01:00   -   -
2019-02-08 14:02:00   0.0655   0.0655
2019-02-08 14:03:00   34 M   34 M
2019-02-08 14:04:00   34 M   34 M


Input method:

Image

Data source template:

Image

Note: Source data type value used to be COUNTER, I changed it several times. I know that cacti cannot convert the data. It has been GAUGE for all the queries I pasted above.

Graph template:

Image


Empty results are ok, but values like 34M and the floats are clearly wrong.
What am I doing wrong?






Also I can only see the graph under https://cacti.example.com/cacti/graph_v ... state=true but not in tree view. I don't understand why.

P.S. it is quite difficult to find up-to date custom graphing guides for the new cacti.


Attachments:
graph_template.png
graph_template.png [ 128.58 KiB | Viewed 211 times ]
data_template_cacti.png
data_template_cacti.png [ 53.36 KiB | Viewed 211 times ]
input_method_cacti.png
input_method_cacti.png [ 25.73 KiB | Viewed 211 times ]


Last edited by naven on Mon Feb 11, 2019 2:12 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Custom script creating a graph collects garbage data
PostPosted: Sat Feb 09, 2019 1:00 pm 
Offline

Joined: Tue Mar 31, 2015 4:54 pm
Posts: 11
Debug log below. In this output util is 0 % and its fine.


Code:
2019/02/09 19:54:03 - AUTOM8 [PID: 4445] Not time to Run Discovery for 'Test Network'
2019/02/09 19:54:03 - MAINT Cacti Log Rotation - TIMECHECK Ran: 2019-02-09 00:00:04, Now: 2019-02-09 19:54:03, Next: 2019-02-09 23:59:59
2019/02/09 19:54:03 - SYSTEM THOLD STATS: Time:0.0094 Tholds:0 TotalDevices:2 DownDevices:0 NewDownDevices:0
2019/02/09 19:54:03 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /var/www/html/cacti/poller_maintenance.php]
2019/02/09 19:54:03 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /var/www/html/cacti/poller_automation.php -M]
2019/02/09 19:54:03 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /var/www/html/cacti/poller_spikekill.php]
2019/02/09 19:54:03 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /var/www/html/cacti/poller_reports.php]
2019/02/09 19:54:03 - SYSTEM STATS: Time:2.2839 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:51 RRDsProcessed:40
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cored_utilization_55.rrd --template cored_utilization 1549734841:0
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_proc_45.rrd --template proc 1549734841:171
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_sscpuuser_44.rrd --template ssCpuUser 1549734841:1
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_sscpusystem_43.rrd --template ssCpuSystem 1549734841:0
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_sscpuidle_42.rrd --template ssCpuIdle 1549734841:97
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_proc_41.rrd --template proc 1549734841:303
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_37.rrd --template cpu 1549734841:3
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_36.rrd --template cpu 1549734841:3
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_35.rrd --template cpu 1549734841:2
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_34.rrd --template cpu 1549734841:3
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_33.rrd --template cpu 1549734841:3
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_cpu_32.rrd --template cpu 1549734841:4
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_bytesread_25.rrd --template bytesread:byteswritten 1549734841:0:1490944
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_reads_24.rrd --template reads:writes 1549734841:0:271
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_mem_total_20.rrd --template mem_total 1549734841:32880348
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_mem_free_19.rrd --template mem_free 1549734841:8933360
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_mem_cache_18.rrd --template mem_cache 1549734841:14747520
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_mem_buffers_17.rrd --template mem_buffers 1549734841:645988
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_load_5min_16.rrd --template load_5min 1549734841:0.00
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_load_15min_15.rrd --template load_15min 1549734841:0.00
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_load_1min_14.rrd --template load_1min 1549734841:0.00
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_traffic_in_13.rrd --template traffic_in:traffic_out 1549734841:6034107758:26381094364
2019/02/09 19:54:03 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test_example.com_traffic_in_12.rrd --template traffic_out:traffic_in 1549734841:436414349:9103801105
2019/02/09 19:54:03 - POLLER: Poller[1] Parsed MULTI output field 'byteswritten:1490944' [map byteswritten->byteswritten]
2019/02/09 19:54:03 - POLLER: Poller[1] Parsed MULTI output field 'bytesread:0' [map bytesread->bytesread]
2019/02/09 19:54:03 - POLLER: Poller[1] Parsed MULTI output field 'writes:271' [map writes->writes]
2019/02/09 19:54:03 - POLLER: Poller[1] Parsed MULTI output field 'reads:0' [map reads->reads]
2019/02/09 19:54:03 - POLLER: Poller[1] Time: 1.5511 s, Poller: , Theads: N/A, Devices: 1
2019/02/09 19:54:03 - PHPSVR DEBUG: PHP Script Server Shutdown request received, exiting
2019/02/09 19:54:03 - POLLER: Poller[1] Device[2] DS[55] CMD: php /scripts/cored_cacti_select.php, output: 0
2019/02/09 19:54:03 - POLLER: Poller[1] Device[2] DS[45] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 171
2019/02/09 19:54:03 - POLLER: Poller[1] Device[2] DS[44] SNMP: v2: 192.168.70.8, dsname: ssCpuUser, oid: .1.3.6.1.4.1.2021.11.9.0, output: 1
2019/02/09 19:54:03 - POLLER: Poller[1] Device[2] DS[43] SNMP: v2: 192.168.70.8, dsname: ssCpuSystem, oid: .1.3.6.1.4.1.2021.11.10.0, output: 0
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[42] SNMP: v2: 192.168.70.8, dsname: ssCpuIdle, oid: .1.3.6.1.4.1.2021.11.11.0, output: 97
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[41] SNMP: v2: 192.168.70.8, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 303
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[37] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '4000', output: 3
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[7] RESPONSE:'3'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[7] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '4000'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[6] RESPONSE:'3'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[36] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '4', output: 3
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[6] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '4'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[35] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '3', output: 2
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[5] RESPONSE:'2'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[5] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '3'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[4] RESPONSE:'3'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[34] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '2', output: 3
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[4] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '2'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[33] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '1', output: 3
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[3] RESPONSE:'3'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[3] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '1'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[32] SERVER: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu '192.168.70.8' '2' '2:161:500:1:10:test.example.com::::::' 'get' 'usage' '0', output: 4
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[2] RESPONSE:'4'
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_54.rrd --template hdd_free:hdd_used 1549734841:320796:142164
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_53.rrd --template hdd_used:hdd_free 1549734841:9296:2847836
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_52.rrd --template hdd_used:hdd_free 1549734841:236920:226040
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_51.rrd --template hdd_used:hdd_free 1549734841:164956:1712476
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_50.rrd --template hdd_free:hdd_used 1549734841:487007664:7891328
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_49.rrd --template hdd_free:hdd_used 1549734841:2847512:9620
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_48.rrd --template hdd_free:hdd_used 1549734841:6061916:3650436
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_47.rrd --template hdd_free:hdd_used 1549734841:3028544:742736
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_hdd_free_46.rrd --template hdd_used:hdd_free 1549734841:256688:29345780
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_sscpuuser_40.rrd --template ssCpuUser 1549734841:0
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_sscpusystem_39.rrd --template ssCpuSystem 1549734841:0
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/test2_example_com_sscpuidle_38.rrd --template ssCpuIdle 1549734841:98
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/local_linux_machine_mem_swap_5.rrd --template mem_swap 1549734841:4052476
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/local_linux_machine_mem_buffers_4.rrd --template mem_buffers 1549734841:252420
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/local_linux_machine_users_3.rrd --template users 1549734841:0
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/local_linux_machine_load_1min_2.rrd --template load_1min:load_5min:load_15min 1549734841:0.08:0.13:0.13
2019/02/09 19:54:02 - POLLER: Poller[1] CACTI2RRD: /bin/rrdtool update /var/www/html/cacti/rra/local_linux_machine_proc_1.rrd --template proc 1549734841:172
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[2] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '192.168.70.8', '2', '2:161:500:1:10:test.example.com::::::', 'get', 'usage', '0'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[25] SERVER: /var/www/html/cacti/scripts/ss_net_snmp_disk_bytes.php ss_net_snmp_disk_bytes '192.168.70.8', output: bytesread:0 byteswritten:1490944
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[1] RESPONSE:'bytesread:0 byteswritten:1490944'
2019/02/09 19:54:02 - POLLER: Poller[1] Parsed MULTI output field '10min:0.13' [map 10min->load_15min]
2019/02/09 19:54:02 - POLLER: Poller[1] Parsed MULTI output field '5min:0.13' [map 5min->load_5min]
2019/02/09 19:54:02 - POLLER: Poller[1] Parsed MULTI output field '1min:0.08' [map 1min->load_1min]
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[1] INC: 'ss_net_snmp_disk_bytes.php' FUNC: 'ss_net_snmp_disk_bytes' PARMS: '192.168.70.8'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[24] SERVER: /var/www/html/cacti/scripts/ss_net_snmp_disk_io.php ss_net_snmp_disk_io '192.168.70.8', output: reads:0 writes:271
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[0] RESPONSE:'reads:0 writes:271'
2019/02/09 19:54:02 - PHPSVR DEBUG: PID[4316] CTR[0] INC: 'ss_net_snmp_disk_io.php' FUNC: 'ss_net_snmp_disk_io' PARMS: '192.168.70.8'
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[20] SNMP: v2: 192.168.70.8, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, output: 32880348
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[19] SNMP: v2: 192.168.70.8, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: 8933360
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[18] SNMP: v2: 192.168.70.8, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: 14747520
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[17] SNMP: v2: 192.168.70.8, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: 645988
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[16] SNMP: v2: 192.168.70.8, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: 0.00
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[15] SNMP: v2: 192.168.70.8, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: 0.00
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[14] SNMP: v2: 192.168.70.8, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: 0.00
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[13] SNMP: v2: 192.168.70.8, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, output: 26381094364
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[13] SNMP: v2: 192.168.70.8, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, output: 6034107758
2019/02/09 19:54:02 - POLLER: Poller[1] Device[2] DS[12] SNMP: v2: 192.168.70.8, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, output: 436414349
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] DS[12] SNMP: v2: 192.168.70.8, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, output: 9103801105
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] DQ[6] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert:18799938 < output:18805899)
2019/02/09 19:54:01 - POLLER: Poller[1] Time: 0.5285 s, Poller: , Theads: N/A, Devices: 1
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[54] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/sda1', output: 142164
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[54] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/sda1', output: 320796
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[53] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvVarTmp', output: 9296
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] DQ[5] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert:18799935 < output:18805896)
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[53] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvVarTmp', output: 2847836
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[52] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvVarLogAudit', output: 236920
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[52] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvVarLogAudit', output: 226040
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[51] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvVarLog', output: 164956
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[51] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvVarLog', output: 1712476
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] DQ[4] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert:18799932 < output:18805892)
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[50] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvVar', output: 7891328
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[50] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvVar', output: 487007664
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[49] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvTmp', output: 9620
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert:18799929 < output:18805889)
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[49] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvTmp', output: 2847512
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[48] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvRoot', output: 3650436
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[48] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvRoot', output: 6061916
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] RECACHE: Processing 4 items in the auto reindex cache for '192.168.70.8'.
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[47] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvOpt', output: 742736
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[47] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvOpt', output: 3028544
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[46] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'used' '/dev/mapper/vgRoot-lvHome', output: 256688
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[46] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl 'get' 'available' '/dev/mapper/vgRoot-lvHome', output: 29345780
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[40] SNMP: v2: localhost, dsname: ssCpuUser, oid: .1.3.6.1.4.1.2021.11.9.0, output: 0
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[39] SNMP: v2: localhost, dsname: ssCpuSystem, oid: .1.3.6.1.4.1.2021.11.10.0, output: 0
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[38] SNMP: v2: localhost, dsname: ssCpuIdle, oid: .1.3.6.1.4.1.2021.11.11.0, output: 98
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[5] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl 'SwapFree:', output: 4052476
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[4] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl 'MemFree:', output: 252420
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[3] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 0
2019/02/09 19:54:01 - POLLER: Poller[1] Device[2] STATUS: Device '192.168.70.8' is UP.
2019/02/09 19:54:01 - PING Device[2] PING: ICMP Ping Success (0.750 ms)
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[2] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.08 5min:0.13 10min:0.13
2019/02/09 19:54:01 - POLLER: Poller[1] PHP Script Server Started Properly
2019/02/09 19:54:01 - PHPSVR PHP Script Server has Started - Parent is cmd
2019/02/09 19:54:01 - PHPSVR DEBUG: FILENM: /var/www/html/cacti/script_server.php
2019/02/09 19:54:01 - PHPSVR DEBUG: DIRNAM: /var/www/html/cacti
2019/02/09 19:54:01 - PHPSVR DEBUG: GETCWD: /var/www/html/cacti
2019/02/09 19:54:01 - PHPSVR DEBUG: SERVER: cmd
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] DS[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 172
2019/02/09 19:54:01 - POLLER: Poller[1] Device[1] STATUS: Device 'localhost' is UP.
2019/02/09 19:54:01 - PING Device[1] SNMP: Device responded to SNMP
2019/02/09 19:54:01 - PING Device[1] PING: ICMP Ping Success (0.024 ms)
2019/02/09 19:54:01 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q "/var/www/html/cacti/cmd.php" --poller=1 --first=2 --last=2 --mibs]
2019/02/09 19:54:01 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q "/var/www/html/cacti/cmd.php" --poller=1 --first=0 --last=1 --mibs]
2019/02/09 19:54:01 - POLLER: Poller[1] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '60.3', Max Runtime '58', Poller Runs: '1'


Top
 Profile  
 
 Post subject: Re: Custom script creating a graph collects garbage data
PostPosted: Tue Feb 19, 2019 1:12 am 
Offline

Joined: Tue Mar 31, 2015 4:54 pm
Posts: 11
Maybe anyone has some idea what else should I test/debug? I think I've done everything I can, but I'm not sure...


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 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