Main Contents

Using Cacti Plugin Architecture with Gentoo

March 12, 2008

Cacti Plugins are great tools to extend your Cacti capabilities. I ran into an issue with Cacti 0.8.7b on Gentoo after installing the Plugin Architecture (http://cactiusers.org/). The error was:
Warning: include(/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/cacti/include/global.php on line 191

Warning: include() [function.include]: Failed opening ‘/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php’ for inclusion (include_path=’.:/usr/share/php5:/usr/share/php’) in [...]

Filed under: Linux, Network | Comments (1)

My iptables firewall script

March 6, 2008

This generic iptables script seems to work pretty well for myself and several sites I administer. It provides samples for a firewall with NAT, multiple public IP address, PPPoE, site-to-site VPN’s, port translation, packet logging and more.

#!/bin/bash

##Using PPPoE, set the Public Interface to ppp0
PUB_IF=’ppp0′
PUB_IP=’4.5.6.1′

##Private Internal network
PRI_IF=’eth0′
PRI_IP=’10.1.0.1′
PRI_NET=’10.1.0.0/24′
PRI_BC=’10.1.0.255′

##Private DSL network (only DSL modem [...]

Filed under: Linux, Network, Windows | Comments (0)

VMware and RDP conflicts

March 6, 2008

I was having the strangest problem recently while trying to RDP into a few different servers. I would get the Windows logon prompt, but after logging in the screen would go black and eventually drop the connection entirely. This looked like MTU problems, which I’ve seen manifested in this way, but this wasn’t the case. [...]

Filed under: Microsoft, Network, Windows | Comments (0)