Category Archives: System Monitoring

Testing for UDP Traffic

On the receiver run: On sender run: Example: Sender Receiver

Posted in Journal, System Monitoring | Tagged , | Comments Off on Testing for UDP Traffic

CentOS 6.x and Nagios – Allow Nagios to run external commands…

After what seemed like days of messing with permissions, SELinux was the problem. To solve the dreaded Could not stat() command file ‘/usr/local/nagios/var/rw/nagios.cmd’!” error, when trying to reschedule a test or acknowledge an alert, a simple setenforce 0 was the solution. … Continue reading

Posted in Journal, LiM, System Monitoring | Comments Off on CentOS 6.x and Nagios – Allow Nagios to run external commands…

Setting up Nagios on Backwater

The first thing I wanted to do was deal with the web server. I didn’t want apache serving any pages other than nagios. I decided to redirect everything to techmentor.com. To do this I has to allow overrides int the main conf … Continue reading

Posted in Journal, System Monitoring | Comments Off on Setting up Nagios on Backwater

VNC, MRTG, and More

Setup VNC servers on liminf03 and kfserver01. Used http://wiki.centos.org/HowTos/VNC-Server as a reference. Also added additional disk volumes to MRTG. These included Share and Backup volumes on ShareA, ShareB, and ShareC. Reconfigured shareb_usedroot target on ShareB, it was monitoring the Share volume instead. This … Continue reading

Posted in Journal, LiM, Purchases, System Monitoring | Comments Off on VNC, MRTG, and More

OS X Tricks: Command line fun…

Amount of Memory sysctl -a | grep hw.memsize: or /usr/sbin/system_profiler SPHardwareDataType | grep Memory Amount of Swap ls -al /private/var/vm/swapfile0 | awk ‘{print $5}’ Amount of Free Swap vm_stat | awk ‘/Pages free:/ {print substr($3,1,match($3,/\./)-1)}’

Posted in Journal, LiM, System Monitoring | Comments Off on OS X Tricks: Command line fun…

Boy, what did I get into…

So I discover a little Mac command line tool, a system profiler (/usr/sbin/system_profiler ), that I thought I could use to generate a cfg2html type report. Well, I want to convert the text output to HTML. I looked at txt2tags, … Continue reading

Posted in Journal, LiM, System Monitoring | Comments Off on Boy, what did I get into…

Nagios on Ubuntu

Setting up Nagios for monitoring LiM access and other external services I discover the the Nagios3 package with Ubuntu sort of sucks. So much does not work, without screwing around. I finally bagged it and went with building the current … Continue reading

Posted in Casa de Maza, System Monitoring | Comments Off on Nagios on Ubuntu

More Nagios tuning…

Discovered that KF returns no error code if a DB is down. It returns a valid page saying that no database is available. This tricks Nagios into thinking all is good. Added a string check (-s) to each test to … Continue reading

Posted in Journal, Knowledge Forum, System Monitoring | Comments Off on More Nagios tuning…

Power Outage Notes

– QBServer: Failed to auto power on. Quickbooks Server started automatically once the system was turned on. – Knowledge Forum: DBs remained down due to remaining lock files. Lock files were manually removed and KF restarted. – liminf03: Was notified … Continue reading

Posted in DNS, Journal, Knowledge Forum, LiM, System Monitoring | Comments Off on Power Outage Notes

Added specific KF DBs to monitoring.

I added the specific URLs for all of the active DBs on kfserver01, to nagios on Netmon01. This should give some indication if individual DBs stop responding, instead of the whole server being down.

Posted in Journal, Knowledge Forum, LiM, System Monitoring | Comments Off on Added specific KF DBs to monitoring.