Xps shows *nix processes as a tree. The status is indicated by color. Compile and run: u-1@srv-1 xps $ ls xps-4.2.tar.gz u-1@srv-1 xps $ tar -xzf *.gz u-1@srv-1 xps $ cd xps* u-1@srv-1 xps-4.2 $ u-1@srv-1 xps-4.2 $ ./configure checking for a BSD-compatible install… /bin/install -c checking whether build environment is sane… yes checking for […]
Graphical Ps With Xps
Make Windows Talk to Syslog
One of our networks has just a few production Windows servers on it, and a whole bunch of Linux boxes. Being a Unix sysadmin by trade and inclination, this situation is mostly dreamy except for one thing: auditing the event logs on the Windows servers. We can’t just put our head in the sand and […]
Installing Rsyslog With a MySQL and Loganalyzer
Ahhh… how to keep track of all of those logs. You could go fabulous and use Splunk (or one of splunks alternatives), but if you want some free and simple analysis with not a lot of extra load, rsyslog dumping into a database with Loganalyzer is a pretty decent option. For an introduction to rsyslog, […]
Syslog Client for Windows
The Rsyslog Windows Agent from Adiscon provides a comprehensive and scalable syslog client that runs on all Microsoft Windows operating systems from 2000 on up to 2012, even Windows 8. Installation is a typical next, next, next: The configuration options are many, and you can use TCP: Notice that you can queue at the client […]
Monitoring Java VM Performance With JConsole
J2SE 5.0 includes monitoring. For more details on management of Java-based systems, see this article. The JDK 5.0 includes a tool called JConsole that will provide performance information. In this article we will use JConsole to monitor a Geronimo server. The first step is to call the jar file for the app you want to […]
Installing SNMP via RPMs on CentOS 4
SNMP is the primary protocol for monitoring networking equipment; however, due to security and performance considerations, it was often a bad choice for servers. SNMP v 3 now has security improvements that make this a possibility for servers. For more on this, see RFC 3414. We have used Big Brother and Big Sister in the […]
Setting up SNMPv3 Users
[Note: for a Windows version of these instructions, see this article] SNMP version 3 has the capability of using authentication. It can be configured so that you need a user name and password before you can request information from a particular agent. For binary folks, make sure you have the net-snmp-devel package. We used yum […]
Installing SNMP on Windows Server 2003 Using Net-SNMP
Net-SNMP is an open source SNMP project that is released under a BSD license. Installing SNMP will allow you to further Monitor your Servers or Network devices via a Centralized software or management console as well as monitoring bandwidth usage and utilization. To install on Windows Server, grab the .exe from here. Simply run the […]
Configuring SNMPv3 Security On Windows Server 2003
In this article we set up SNMP using the Net-SNMP package. We showed how to set up user security for GNU/Linux on our Centos 4 box in this article. The procedure is a little different for Windows, because the net-snmp-config command is not available. The userid and passphrase need to be in the snmpd.conf file: […]
Live Graph of Apache Processes – Part 1 – Introduction
There are 3 parts to this article: Part 1 – Part 2 – Part 3 One benchmark that we are interested in while monitoring Apache on GNU/Linux is the number of httpd processes running. Here is an example graph of the number of httpd processes running that is created by the scripts in this article: […]
Live Graph of Apache Processes – Part 2 – Displaying Scale
There are 3 parts to this article: Part 1 – Part 2 – Part 3 In the introduction to this series we showed a graph of Apache processes (httpd). This article will show how to create the scale of the graph and the initial fig file entries. See Xfig.org for more details on the graphing […]
Live Graph of Apache Processes – Part 3 – Counting and Displaying
There are 3 parts to this article: Part 1 – Part 2 – Part 3 In this article we introduced this graph and showed how it looks live, and in this article we created the scale. Finally, we will get to the part that creates the blue bars that comprise the graph. Here is the […]
Monitoring Systems With Zabbix – Initial Configuration – Part 1
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 Zabbix is an open source (GPL) monitoring system with a database back end. The system can be configured via a web browser. We used CentOS 4 for this install. Do set this up in a lab, first. Read […]
Monitoring Systems With Zabbix – Initial Configuration – Part 2
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 We are going to configure this as a server, without SNMP support, and with MySQL as a database: [root@srv-1 data]# cd .. [root@srv-1 create]# cd .. [root@srv-1 zabbix-1.1beta8]# ./configure –enable-server –with-mysql checking for a BSD-compatible install… /usr/bin/install -c […]
Monitoring Systems With Zabbix – Initial Configuration – Part 3
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 Start the server: [root@srv-1 zabbix-1.1beta8]# cd /usr/local/bin [root@srv-1 bin]# ./zabbix_server [root@srv-1 bin]# cat /tmp/zabbix_server.log 027362:20060418:104022 Starting zabbix_server. ZABBIX 1.1beta8. 027364:20060418:104022 server #1 started [Alerter] 027366:20060418:104022 server #2 started [Timer] 027368:20060418:104022 server #3 started [ICMP pinger] 027373:20060418:104022 server #4 […]
Monitoring Systems With Zabbix – Initial Configuration – Part 4
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 Run make [root@srv-1 zabbix-1.1beta8]# make Making all in src make[1]: Entering directory `/usr/local/src/zabbix-1.1beta8/src’ Making all in libs make[2]: Entering directory `/usr/local/src/zabbix-1.1beta8/src/libs’ Making all in zbxcommon . . . gcc -g -O2 -o zabbix_sender zabbix_sender.o ../libs/zbxcommon/libzbxcommon.a -lresolv -lnsl make[3]: […]
Monitoring Systems With Zabbix – Initial Configuration – Part 5
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 The agent files also end up in /usr/local/bin by default: [root@srv-1 zabbix-1.1beta8]# cd /usr/local/bin/ [root@srv-1 bin]# ls zab* zabbix_agent zabbix_agentd zabbix_get zabbix_sender zabbix_server [root@srv-1 bin]# ls -l zab* -rwxr-xr-x 1 root root 179347 Apr 18 10:56 zabbix_agent -rwxr-xr-x […]
Monitoring Systems With Zabbix – Initial Configuration – Part 6
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 When first logging on to Zabbix, the login name is admin, and the password is blank: Change the admin password as soon as you can: Use configuration/hosts to add a host. Make sure you link with the correct […]
Monitoring HTTP Connections
Here is a perl script that determines the number of HTTP connections on a server, and displays the rusults on one of the seven segment displays on the NetAdminWorld console: open (HC, “ssh -p <port> root\@example.com ‘netstat | grep http | wc -l ‘|”); while (<HC>){ $count=$_/6 } use IO::Socket; my $sock = new IO::Socket::INET […]
Monitoring and Automatic Recovery of Services with Monit
Monit is a small, easy to configure monitoring system for *nix systems that will attempt to restart services that have failed. Grab the tarball, extract, configure, make, and make install: [usr-1@srv-1 ~]$ tar -xzf mon*4.7*.gz [usr-1@srv-1 ~]$ cd mon*7 [usr-1@srv-1 monit-4.7]$ ./configure checking for gcc… gcc checking for C compiler default output file name… a.out […]
SolarWinds Top 5 Essential IT Tools
Manage and Monitor Your Network in One Simple Bundle
- Help desk ticketing and asset management software
- Remote support and systems management solution
- Network configuration and automation software
- Safe file transfer management solution
- Network management and troubleshooting software
Fully functional for 14 days