Networking • Automation • Occasional Podcasting

Category: Cacti

  • , ,

    Cacti – Syslog Alert SQL Insert

    I was inserting lots of new syslog alerts and didn’t want to do it through the GUI, so I wrote a quick mysql query: INSERT INTO syslog_alert (name,type,message,user,date,email) VALUES("MessageTitle","messagec","MatchMe","ADMIN",1186586067,"[email protected]"),("MessageTitle2","messagec","MatchMe2","ADMIN",1186586067,"[email protected]")

  • Install NTOP On Your CactiEZ Server
    , ,

    Install NTOP On Your CactiEZ Server

    NTOP is a netflow collector, or it can be used to promiscuously sniff on a port. I do prefer flow viewer, but for those of you that prefer an easier, friendlier interface, here’s how you install NTOP. Set your repository up for dag: rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm Then install ntop: yum install ntop You will need…

  • Gathering Information With Cisco IP SLA and Cacti
    , ,

    Gathering Information With Cisco IP SLA and Cacti

    Modern enterprise networks often span provider networks, be it IPSec tunnels through the internet or a leased MPLS connection. If one is experiencing problems, how can you definitively diagnose these issues? There are few tools cheaper and more effective than using Cisco’s IP SLA ( IP Service Level Agreement), formerly SAA and RTTMON. In a…

  • Class Video – Mikrotik Security
    , , , , , , ,

    Class Video – Mikrotik Security

    This class video includes some best practices along with firewalling. This class is about 50 minutes long and you will be a genius and beloved by all by the end. Slides can be found here: *****Here’s a Border Router Firewall Script that is a great start.***** As always, questions and comments are very welcome! Thanks…

  • , ,

    Cacti Video Tutorial – Backups

    CactiEZ by default runs a backup script nightly. It dumps these files into a folder. All we have to do is configure our CactiEZ box to send those files elsewhere. Backup location is /var/www/backup. The backup script itself is /var/www/backup.sh. I modify the backup script as below: #/bin/bash cd /var/www/ # Remove old backups find…

  • , , ,

    Cacti Video Tutorial Netflow / Flowviewer

    I wasn’t initially clear enough, so here is meat and potatoes explanation of netflow, then it will get into the history: Imagine a user in your network is downloading a huge file from somewhere on the internet. Now imagine you are exporting netflow information from your internet router and collecting it on your cacti box.…

  • My Cacti Syslog Alerts – Cisco/ASA/Mikrotik/Centos

    Here are a few of my Cacti alerts. I’m definitely a network guy, so you will mostly see network related alerts. If you have any you want to share with the world, add them to the comments! !!Start with a few Mikrotik alerts: sys error, accepted a DHCP address and failed login NAME TYPE TEXT…