Search found 10 matches

by duffrecords
Thu Feb 06, 2014 9:01 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] spine and ICMP ping issues (version 0.8.8b)
Replies: 1
Views: 716

Re: spine and ICMP ping issues (version 0.8.8b)

I fixed it by adding the setuid bit to spine.

Code: Select all

chmod +s /usr/bin/spine
I wish I could use spine with SELinux enabled, though.
by duffrecords
Thu Feb 06, 2014 3:07 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] spine and ICMP ping issues (version 0.8.8b)
Replies: 1
Views: 716

[SOLVED] spine and ICMP ping issues (version 0.8.8b)

When I switch the poller from cmd.php to spine, some hosts' statuses changed to "down" even though the device pages show "ICMP Ping Success." When using cmd.php everything works correctly, although it is much slower than spine, obviously. Initially, ICMP ping was failing because ...
by duffrecords
Wed Feb 05, 2014 3:00 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] data collected in PST but graphs displayed in UTC
Replies: 1
Views: 724

Re: data collected in PST but graphs displayed in UTC

Never mind. I rebooted the server and the graphs began to appear at the correct time, after a gap of 8 hours (the current difference between UTC and PST).
by duffrecords
Wed Feb 05, 2014 2:28 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] data collected in PST but graphs displayed in UTC
Replies: 1
Views: 724

[SOLVED] data collected in PST but graphs displayed in UTC

I set up two Cacti servers recently, on different networks. One of them is displaying graphs as I expect, but the other appears to be collecting stats in my local time zone (that's what cacti.log shows) but displaying the graphs in UTC. In other words, an event that took place at 10 AM PST appears o...
by duffrecords
Tue Feb 04, 2014 8:28 pm
Forum: Help: Linux/Unix Specific
Topic: Ping Results ICMP ping Timed out 0.8.8b
Replies: 1
Views: 1182

Re: Ping Results ICMP ping Timed out 0.8.8b

I'm having the same problem. I tried creating the following SELinux policy based on recommendations from audit2allow: module httpd_ping 1.0; require { type httpd_t; class capability net_raw; class rawip_socket { getopt create setopt }; } #============= httpd_t ============== allow httpd_t self:capab...
by duffrecords
Wed Sep 05, 2012 6:17 pm
Forum: Help: General
Topic: graph is blank despite SNMP data
Replies: 4
Views: 1877

Re: graph is blank despite SNMP data

If you're referring to running the script as the same user that cacti runs as, yes, I've run it as www-data. After deleting the faulty graph and adding it again, I'm not seeing the fatal error anymore. However, the graph is all green now, indicating 100% battery charge and 0% output load. The logs s...
by duffrecords
Tue Aug 07, 2012 5:02 pm
Forum: Help: General
Topic: graph is blank despite SNMP data
Replies: 4
Views: 1877

Re: graph is blank despite SNMP data

With log debugging: 08/07/2012 02:41:43 PM - PHPSVR: Poller[0] DEBUG: PID[2247] CTR[4] INC: 'ss_poweralert_ups_status.php' FUNC: 'ss_poweralert_ups_status' PARMS: 'hostname.redacted.com:2:tlremote:::::::3664:500 get outputLoad 2' 08/07/2012 02:41:43 PM - CMDPHP: Poller[0] Host[39] DS[596] SERVER: /v...
by duffrecords
Tue Aug 07, 2012 3:03 pm
Forum: Scripts and Templates
Topic: TrippLite PowerAlert UPS stats -- update November 11, 2010
Replies: 22
Views: 36818

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

I can't get the battery temperature graphs to work in Cacti 0.8.8a. root@controller:~# php -q /var/www/cacti/scripts/ss_poweralert_ups_status.php hostname.redacted.com:2:tlremote:::::::3664:500 get batterytemperature 1 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d...
by duffrecords
Tue Aug 07, 2012 1:35 pm
Forum: Help: General
Topic: graph is blank despite SNMP data
Replies: 4
Views: 1877

graph is blank despite SNMP data

I started using the Tripp-Lite PowerAlert script but I'm missing data in one of the graphs. I have two UPSs with a Windows box acting as an SNMP proxy. I can successfully snmpwalk both UPSs and the script works when run manually but Load Capacity data is only appearing in one of the UPS graphs. I've...
by duffrecords
Fri Aug 03, 2012 7:26 pm
Forum: Help: Linux/Unix Specific
Topic: LDAP authentication setup
Replies: 3
Views: 1618

LDAP authentication setup

I have a working LDAP server (set up by a previous sysadmin, and a bit esoteric). From my Cacti server I can successfully query the LDAP server. The following command returns all usernames that begin with the letter "A." ldapsearch -x -h ldap.example.com -b 'dc=ldap,dc=example,dc=com' 'cn=...