No Values in Graphs for Windows Devices
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
No Values in Graphs for Windows Devices
hello all
I have a strange question for monitoring Windows Device when using cacti.
I have added and created graphs for windows device with no problem, but when I checked the graphs I found all value shows NaN. There is a screenshot below. I found no problem in the log file.
Is there anyone know what causes this problem?
I have a strange question for monitoring Windows Device when using cacti.
I have added and created graphs for windows device with no problem, but when I checked the graphs I found all value shows NaN. There is a screenshot below. I found no problem in the log file.
Is there anyone know what causes this problem?
- Attachments
-
- 6.PNG (55.28 KiB) Viewed 863 times
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
Re: No Values in Graphs for Windows Devices
this is rrdtool info log.
filename = "/var/www/html/rra/ad_dc_primary_cpu_1110.rrd"
rrd_version = "0003"
step = 300
last_update = 1544413801
header_size = 3704
ds[cpu].index = 0
ds[cpu].type = "GAUGE"
ds[cpu].minimal_heartbeat = 600
ds[cpu].min = 0.0000000000e+00
ds[cpu].max = 1.0000000000e+02
ds[cpu].last_ds = "U"
ds[cpu].value = NaN
ds[cpu].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 465
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 275
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 4
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 608
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 22
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 524
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 46
rra[4].cf = "MIN"
rra[4].rows = 600
rra[4].cur_row = 81
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 700
rra[5].cur_row = 317
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = inf
rra[5].cdp_prep[0].unknown_datapoints = 4
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].cur_row = 708
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 22
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].cur_row = 144
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 46
rra[8].cf = "MAX"
rra[8].rows = 600
rra[8].cur_row = 21
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].cur_row = 308
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = -inf
rra[9].cdp_prep[0].unknown_datapoints = 4
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].cur_row = 730
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 22
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].cur_row = 625
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 46
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].cur_row = 488
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].cur_row = 38
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = NaN
rra[13].cdp_prep[0].unknown_datapoints = 4
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].cur_row = 202
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = NaN
rra[14].cdp_prep[0].unknown_datapoints = 22
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].cur_row = 53
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = NaN
rra[15].cdp_prep[0].unknown_datapoints = 46
filename = "/var/www/html/rra/ad_dc_primary_cpu_1110.rrd"
rrd_version = "0003"
step = 300
last_update = 1544413801
header_size = 3704
ds[cpu].index = 0
ds[cpu].type = "GAUGE"
ds[cpu].minimal_heartbeat = 600
ds[cpu].min = 0.0000000000e+00
ds[cpu].max = 1.0000000000e+02
ds[cpu].last_ds = "U"
ds[cpu].value = NaN
ds[cpu].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 465
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 275
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 4
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 608
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 22
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 524
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 46
rra[4].cf = "MIN"
rra[4].rows = 600
rra[4].cur_row = 81
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 700
rra[5].cur_row = 317
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = inf
rra[5].cdp_prep[0].unknown_datapoints = 4
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].cur_row = 708
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 22
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].cur_row = 144
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 46
rra[8].cf = "MAX"
rra[8].rows = 600
rra[8].cur_row = 21
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].cur_row = 308
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = -inf
rra[9].cdp_prep[0].unknown_datapoints = 4
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].cur_row = 730
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 22
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].cur_row = 625
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 46
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].cur_row = 488
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].cur_row = 38
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = NaN
rra[13].cdp_prep[0].unknown_datapoints = 4
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].cur_row = 202
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = NaN
rra[14].cdp_prep[0].unknown_datapoints = 22
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].cur_row = 53
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = NaN
rra[15].cdp_prep[0].unknown_datapoints = 46
Re: No Values in Graphs for Windows Devices
Check that your file permissions are correct and that the user running poller.php via task scheduler has write access to the RRD files.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
Re: No Values in Graphs for Windows Devices
thanks for your help.
I have checked file permission and CRONTABLE. seems everything works fine.
-rw-r--r--. 1 cacti cacti 95608 Dec 11 09:40 /var/www/html/rra/ad_dc_primary_cpu_1110.rrd.rrd
*/5 * * * * cacti php /var/www/html/poller.php > /dev/null 2>&1
I have also checked CACTIUSER
cacti1000:/usr/share/cacti:/sbin/nologin
SELINUX has been set to permissive. I even tried to CHMOD 777 to that file but still not work.
I have checked file permission and CRONTABLE. seems everything works fine.
-rw-r--r--. 1 cacti cacti 95608 Dec 11 09:40 /var/www/html/rra/ad_dc_primary_cpu_1110.rrd.rrd
*/5 * * * * cacti php /var/www/html/poller.php > /dev/null 2>&1
I have also checked CACTIUSER
cacti1000:/usr/share/cacti:/sbin/nologin
SELINUX has been set to permissive. I even tried to CHMOD 777 to that file but still not work.
Re: No Values in Graphs for Windows Devices
The cron entry that you listed, was that in crontab or /etc/cron.d/cacti? If the former, then the username is causing you the problem as no user is expected in crontab as it runs as the user specified on when editing via crontab (current user if none is specified).
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
Re: No Values in Graphs for Windows Devices
Hi netniV
thanks so much for your help.
I'm not sure if I clearly understand your explanation. I have specified user cacti on crontab */5 * * * * cacti php /var/www/html/poller.php > /dev/null 2>&1, so command "php /var/www/html/poller.php" will be run as cacti from my understand.
thanks so much for your help.
I'm not sure if I clearly understand your explanation. I have specified user cacti on crontab */5 * * * * cacti php /var/www/html/poller.php > /dev/null 2>&1, so command "php /var/www/html/poller.php" will be run as cacti from my understand.
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
Re: No Values in Graphs for Windows Devices
it's so frustrated me because of the only windows device encountered that problem. Cisco and Linux devices work without any problems.
Re: No Values in Graphs for Windows Devices
The problem is that you say you are using CRONTAB which uses either the current user or the specified user on the command line when running CRONTAB... the entry you have above if being used under CRONTAB should NOT have the user CACTI specified.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 8
- Joined: Sun Dec 09, 2018 10:14 pm
Re: No Values in Graphs for Windows Devices
Hi netniV
Again, thanks for your help. I found a strange situation last week. Monitoring for Windows devices started to work without any configuration changed and stop working after a period.
I have also checked the cacti.log, no error comes out. Maybe there are other things cause this problem.
Again, thanks for your help. I found a strange situation last week. Monitoring for Windows devices started to work without any configuration changed and stop working after a period.
I have also checked the cacti.log, no error comes out. Maybe there are other things cause this problem.
- Attachments
-
- 8.PNG (77.54 KiB) Viewed 819 times
Who is online
Users browsing this forum: No registered users and 0 guests