Entries Published On October, 2012
Cacti Graphs for Apache Not Working? Check Your IPv6
I was wondering earlier why my Apache Cacti graphs were all graphing 0s. Looking to test manually, I see it’s either 0s or -1s like below.
1 2 |
; html-script: false ][revin@forge ~]# /usr/bin/php -q /usr/share/cacti/scripts/ss_get_by_ssh.php --host xx.xx.xxx.xxx --type apache --items g1,g3 g1:-1 g3:-1 |
Looking at the Apache access log on the target server, I noticed Cacti was trying to connect to the IPv6 loopback address “::1”.
1 |
; html-script: false ]::1 - - [13/Oct/2012:22:00:02 -0400] "GET /server-status?auto HTTP/1.0" 403 290 "-" "Cacti/1.0" |
Fortunately this was easy …