Download Centos 6 x86_64 RPMS For Nagios 4.0.2, Rancid 2.3.8-4 and TACAS+ F4.0.4.27a I thought I'd try out Rancid, the Really Awesome New Cisco config Differ, but there didn't seem to be an up to date version.

So, I built & packaged it, seems fine, if not awesome, to me. Rancid Version 2.3.8-p4 Centos 6 x86_64 rancid-2.3.8-4.tiouk.el6.x86_64.rpm

I upgraded a working 2.3.6-1 epel install by using the following YUM command:

yum localinstall rancid-2.3.8-4.tiouk.el6.x86_64.rpm

This version has support for Mikrotik routers, I have an RB1000 at the office and the telnet & ssh methods both work.

Contents:

/etc/cron.d/rancid
/etc/logrotate.d/rancid
/etc/rancid
/etc/rancid/lg.conf
/etc/rancid/rancid.conf
/usr/bin/rancid
/usr/bin/rancid-cvs
/usr/bin/rancid-fe
/usr/bin/rancid-run
/usr/libexec/rancid
/usr/libexec/rancid/agmrancid
/usr/libexec/rancid/alogin
/usr/libexec/rancid/arancid
/usr/libexec/rancid/arrancid
/usr/libexec/rancid/avologin
/usr/libexec/rancid/avorancid
/usr/libexec/rancid/blogin
/usr/libexec/rancid/brancid
/usr/libexec/rancid/cat5rancid
/usr/libexec/rancid/clogin
/usr/libexec/rancid/control_rancid
/usr/libexec/rancid/cssrancid
/usr/libexec/rancid/elogin
/usr/libexec/rancid/erancid
/usr/libexec/rancid/f10rancid
/usr/libexec/rancid/f5rancid
/usr/libexec/rancid/flogin
/usr/libexec/rancid/fnlogin
/usr/libexec/rancid/fnrancid
/usr/libexec/rancid/francid
/usr/libexec/rancid/hlogin
/usr/libexec/rancid/hpuifilter
/usr/libexec/rancid/hrancid
/usr/libexec/rancid/htlogin
/usr/libexec/rancid/htrancid
/usr/libexec/rancid/jerancid
/usr/libexec/rancid/jlogin
/usr/libexec/rancid/jrancid
/usr/libexec/rancid/lg.cgi
/usr/libexec/rancid/lgform.cgi
/usr/libexec/rancid/mrancid
/usr/libexec/rancid/mrvlogin
/usr/libexec/rancid/mrvrancid
/usr/libexec/rancid/mtlogin
/usr/libexec/rancid/mtrancid
/usr/libexec/rancid/nlogin
/usr/libexec/rancid/nrancid
/usr/libexec/rancid/nslogin
/usr/libexec/rancid/nsrancid
/usr/libexec/rancid/nxrancid
/usr/libexec/rancid/par
/usr/libexec/rancid/prancid
/usr/libexec/rancid/rancid
/usr/libexec/rancid/rancid-cvs
/usr/libexec/rancid/rancid-fe
/usr/libexec/rancid/rancid-run
/usr/libexec/rancid/rivlogin
/usr/libexec/rancid/rivrancid
/usr/libexec/rancid/rrancid
/usr/libexec/rancid/srancid
/usr/libexec/rancid/tlogin
/usr/libexec/rancid/tntlogin
/usr/libexec/rancid/tntrancid
/usr/libexec/rancid/trancid
/usr/libexec/rancid/xrancid
/usr/libexec/rancid/xrrancid
/usr/libexec/rancid/zrancid
/usr/share/doc/rancid-2.3.8
/usr/share/doc/rancid-2.3.8/CHANGES
/usr/share/doc/rancid-2.3.8/COPYING
/usr/share/doc/rancid-2.3.8/FAQ
/usr/share/doc/rancid-2.3.8/README
/usr/share/doc/rancid-2.3.8/README.lg
/usr/share/doc/rancid-2.3.8/Todo
/usr/share/doc/rancid-2.3.8/cloginrc.sample
/usr/share/man/man1/agmrancid.1.gz
/usr/share/man/man1/alogin.1.gz
/usr/share/man/man1/arancid.1.gz
/usr/share/man/man1/arrancid.1.gz
/usr/share/man/man1/avologin.1.gz
/usr/share/man/man1/avorancid.1.gz
/usr/share/man/man1/blogin.1.gz
/usr/share/man/man1/brancid.1.gz
/usr/share/man/man1/cat5rancid.1.gz
/usr/share/man/man1/clogin.1.gz
/usr/share/man/man1/control_rancid.1.gz
/usr/share/man/man1/cssrancid.1.gz
/usr/share/man/man1/elogin.1.gz
/usr/share/man/man1/erancid.1.gz
/usr/share/man/man1/f10rancid.1.gz
/usr/share/man/man1/f5rancid.1.gz
/usr/share/man/man1/flogin.1.gz
/usr/share/man/man1/fnlogin.1.gz
/usr/share/man/man1/fnrancid.1.gz
/usr/share/man/man1/francid.1.gz
/usr/share/man/man1/hlogin.1.gz
/usr/share/man/man1/hrancid.1.gz
/usr/share/man/man1/htlogin.1.gz
/usr/share/man/man1/htrancid.1.gz
/usr/share/man/man1/jerancid.1.gz
/usr/share/man/man1/jlogin.1.gz
/usr/share/man/man1/jrancid.1.gz
/usr/share/man/man1/lg_intro.1.gz
/usr/share/man/man1/mrancid.1.gz
/usr/share/man/man1/mrvlogin.1.gz
/usr/share/man/man1/mrvrancid.1.gz
/usr/share/man/man1/mtlogin.1.gz
/usr/share/man/man1/mtrancid.1.gz
/usr/share/man/man1/nlogin.1.gz
/usr/share/man/man1/nrancid.1.gz
/usr/share/man/man1/nslogin.1.gz
/usr/share/man/man1/nsrancid.1.gz
/usr/share/man/man1/nxrancid.1.gz
/usr/share/man/man1/par.1.gz
/usr/share/man/man1/prancid.1.gz
/usr/share/man/man1/rancid-cvs.1.gz
/usr/share/man/man1/rancid-run.1.gz
/usr/share/man/man1/rancid.1.gz
/usr/share/man/man1/rancid_intro.1.gz
/usr/share/man/man1/rivlogin.1.gz
/usr/share/man/man1/rivrancid.1.gz
/usr/share/man/man1/rrancid.1.gz
/usr/share/man/man1/srancid.1.gz
/usr/share/man/man1/tlogin.1.gz
/usr/share/man/man1/tntlogin.1.gz
/usr/share/man/man1/tntrancid.1.gz
/usr/share/man/man1/trancid.1.gz
/usr/share/man/man1/xrancid.1.gz
/usr/share/man/man1/xrrancid.1.gz
/usr/share/man/man1/zrancid.1.gz
/usr/share/man/man5/cloginrc.5.gz
/usr/share/man/man5/lg.conf.5.gz
/usr/share/man/man5/rancid.conf.5.gz
/usr/share/man/man5/router.db.5.gz
/usr/share/rancid
/usr/share/rancid/CHANGES
/usr/share/rancid/COPYING
/usr/share/rancid/FAQ
/usr/share/rancid/README
/usr/share/rancid/README.lg
/usr/share/rancid/README.misc
/usr/share/rancid/UPGRADING
/usr/share/rancid/cisco-load.exp
/usr/share/rancid/cisco-reload.exp
/usr/share/rancid/cloginrc.sample
/usr/share/rancid/downreport
/usr/share/rancid/getipacctg
/usr/share/rancid/index.html
/usr/share/rancid/lg.conf.sample
/usr/share/rancid/lgnotes.html
/usr/share/rancid/rancid-cvspurge
/usr/share/rancid/rancid.conf.sample
/usr/share/rancid/rtrfilter
/var/log/rancid
/var/log/rancid/old
/var/rancid

 

Install Nagios Core version 4 using yum.

Nagios 4 (4.0.2) & Nagios Plugins 1.5-2 Centos 6 x86_64.

Using yum localinstall will install all the require dependencies along with the Nagios 4.0.2 RPMS.

unzip nag*.zip
yum localinstall nag*.rpm

You might need to enable the EPEL repo for this, so if you get a dependency error mesage, look here fedoraproject.org or

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
before running the localinstall command again.

When running Nagios 4 under SELinux on Centos, you might need to create some rules to get it to run. If running in permissive mode or with SELinux disabled, you can skip this.

Install the SELinux troubleshooting tools:

yum install setroubleshoot

Set SELinux to permissive mode so that Nagios will run:

setenforce 0

Now use Nagios for a while, trying all the different functions, this will make the SELinux system log issues that prevent
Nagios running under SELinux to your audit log file. After you have a good log file, run it through the auditing tools
and create modules to allow Nagios to run.

Run the audit log through audit2allow:

grep nagios_t /var/log/audit/audit.log |audit2allow -M nagios4_1
grep httpd_nagios_script_t /var/log/audit/audit.log |audit2allow -M nagios4_2
grep nagios_system_plugin_t /var/log/audit/audit.log |audit2allow -M nagios4_3

Load the modules into your config:

semodule -i nagios4_1.pp
semodule -i nagios4_2.pp
semodule -i nagios4_3.pp

This will list the SELinux modules loaded on your system, you will see nagios4_1, nagios4_2 & nagios4_3 in the list:

semodule -l

Set SELinux back to enforcing mode:

setenforce 1

Now Nagois 4.0.2 will run under SELinux on Centos 6.

nagios-4.0.2-2 All rpms is all but the dev and debug RPMS.

nagios-4.0.2-2.el6.x86_64.rpm
nagios-contrib-4.0.2-2.el6.x86_64.rpm
nagios-debuginfo-4.0.2-2.el6.x86_64.rpm
nagios-devel-4.0.2-2.el6.x86_64.rpm
nagios-plugins-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-all-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-apt-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-breeze-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-by_ssh-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-cluster-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-dbi-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-debuginfo-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-dhcp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-dig-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-disk-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-disk_smb-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-dns-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-dummy-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-file_age-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-flexlm-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-fping-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-game-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-hpjd-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-http-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-icmp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ide_smart-1.5-2.tiouk.el6.x86_64.rpm
agios-plugins-ifoperstatus-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ifstatus-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ircd-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ldap-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-load-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-log-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-mailq-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-mrtg-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-mrtgtraf-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-mysql-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-nagios-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-nt-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ntp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ntp-perl-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-nwstat-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-oracle-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-overcr-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-perl-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-pgsql-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ping-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-procs-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-radius-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-real-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-rpc-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-sensors-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-setuid-1.5-1.el6.x86_64.rpm
nagios-plugins-smtp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-snmp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ssh-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-swap-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-tcp-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-time-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-ups-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-users-1.5-2.tiouk.el6.x86_64.rpm
nagios-plugins-wave-1.5-2.tiouk.el6.x86_64.rpm

 

TACACS+ F4.0.4.27a daemon RPM. Centos 6 x86_64 tac_plus-4.0.4.27a-1.el6.x86_64.rpm

 

SwipeGallery, a Swipeable Gallery Addon for LightNEasy 3.2.5 CMS

A demo can be seen on the blog at http://tiouk.com

Untar in your document root (e.g. tar -zxvf swipegal.tar.gz) to get /swipegallery and the admin pages in your addon folder.
Chown both the SwipeGallery addon AND SwipeGallery folders to suit your web server environment (e.g. chown -R apache:apache /swipegallery).
Login to your LightNEasy CMS and select Addons in the admin interface. Enter the following in the text boxes to add the SwipeGallery addon:

Name: swipegallery
Function name: swipegallery
Admin name: sgimage
Active: 1
Admin Level: 4 (Change to suit the user level that can adminstrate the galleries, 2:Member, 3:Special Member, 4:Administrator, 5:Webmaster)
Header: 1
Now press Add Addon.

You will now see the SwipeGallery icon in the management section. On first use, a function will update your lang file and display the icon title.

Use in the same way as the standard gallery. Don't put spaces in gallery names. Add to a page with the following code. %!$swipegalleryYourSwipeGalleryName$!%