Search found 11 matches

by BigWillyStyle42
Fri Jan 12, 2007 1:49 pm
Forum: Help: General
Topic: Cannot patch Cacti, missing 'patch' binary
Replies: 2
Views: 1341

You need to install the patch program. Go to the package repository for your linux distribution and download it from there.
by BigWillyStyle42
Tue Jan 09, 2007 11:59 pm
Forum: Help: General
Topic: [Cacti <= 0.8.6i] Remote Injection Exploit
Replies: 57
Views: 101150

I think it's the same vulnerability, slightly different code but they're still injecting a command into the SQL database. The command calls wget to get a ping script which it then calls and wget's some other things. A similar command was used on my machine, except they downloaded two images which we...
by BigWillyStyle42
Wed Jan 03, 2007 6:40 pm
Forum: Help: Linux/Unix Specific
Topic: Script that needs to return NaN for a value
Replies: 7
Views: 6196

Would you like me to file a bug report for this? I can use the hack of adding a 3rd result that is defined for the time being, but obviously it'd be better if it was fixed.
by BigWillyStyle42
Wed Jan 03, 2007 9:53 am
Forum: Help: Linux/Unix Specific
Topic: Script that needs to return NaN for a value
Replies: 7
Views: 6196

The following results work correctly in updating the RRA: ping4:10 ping6: 20 ping4:U ping6:20 These both result in an error: ping4:10 ping6:U ping4:U ping6:U I also tried the following which seems to update ping4/ping6 properly when ping6 is unknown: ping4:10 ping6:U dummy:4 So it seems like the las...
by BigWillyStyle42
Wed Jan 03, 2007 12:21 am
Forum: Help: Linux/Unix Specific
Topic: Script that needs to return NaN for a value
Replies: 7
Views: 6196

Actually that is being truncated by cacti in the log. I've now modified the script so that it always prints the following: ping4:U ping6:U And here are the corresponding items in the log: 01/03/2007 05:20:02 AM - CMDPHP: Poller[0] Host[1] DS[20] CMD: /bin/bash /usr/share/cacti/site/scripts/2ping, ou...
by BigWillyStyle42
Tue Jan 02, 2007 11:49 pm
Forum: Help: Linux/Unix Specific
Topic: Script that needs to return NaN for a value
Replies: 7
Views: 6196

That's exactly what it currently returns. Tried with cmd.php and cactid and both give the error shown in the first post.
by BigWillyStyle42
Tue Jan 02, 2007 9:33 pm
Forum: Help: Linux/Unix Specific
Topic: Script that needs to return NaN for a value
Replies: 7
Views: 6196

Script that needs to return NaN for a value

I have a script that pings two hosts (one IPv4, one IPv6) and then returns the values. Occassionally my IPv6 connection will drop, but I'd like my IPv4 latency to still be graphed, and the IPv6 latency to become NaN until it recovers. By default the script returned the following in that case: ping4:...
by BigWillyStyle42
Tue Mar 14, 2006 3:14 pm
Forum: Help: Windows Specific
Topic: My first problem with Cacti
Replies: 3
Views: 2540

If you can access it by going to http://127.0.0.1/cacti/index.php then you need to add index.php as one of the allowed DirectoryIndex pages. How you do that will depend on what webserver you're using.
by BigWillyStyle42
Tue Mar 14, 2006 3:12 pm
Forum: Help: Linux/Unix Specific
Topic: Saving data source or graph causes item to disappear
Replies: 3
Views: 2024

A little googling found me this page: http://dev.mysql.com/doc/mysql/en/server-sql-mode.html So from that I tried this: mysql> SELECT @@global.sql_mode -> ; +-------------------+ | @@global.sql_mode | +-------------------+ | | +-------------------+ 1 row in set (0.00 sec) mysql> SELECT @@session.sql...
by BigWillyStyle42
Tue Mar 14, 2006 1:36 pm
Forum: Help: Linux/Unix Specific
Topic: Saving data source or graph causes item to disappear
Replies: 3
Views: 2024

Unfortunately there is no "sql_mode" in my my.cnf file, I checked for that after reading a few other threads that mentioned SQL problems. Those threads also mentioned using MySQL Administrator to find and/or change the value. I'm not terribly familiar with mysql, so if that's what you'd li...
by BigWillyStyle42
Tue Mar 14, 2006 11:22 am
Forum: Help: Linux/Unix Specific
Topic: Saving data source or graph causes item to disappear
Replies: 3
Views: 2024

Saving data source or graph causes item to disappear

Occassionally when I make a change to a data source and save the data source will no longer appear in the list of data sources and this error will appear in my cacti.log: 03/14/2006 04:10:19 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed "select host.id, host.hostname, host.snmp_community, host.s...