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 3
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 […]
Logging Performance Monitor Counters to SQL Server – Part 1
There are 4 parts to this article: Part 1 – Part 2 – Part 3 – Part 4 On Windows Server 2003, Perfmon counters can be logged directly to a SQL database. Let’s do that. Create a database on your SQL Server. We called the database pmon: We’ll create a device for the database with […]
Logging Performance Monitor Counters to SQL Server – Part 2
There are 4 parts to this article: Part 1 – Part 2 – Part 3 – Part 4 Use Windows NT authentication: Do not dynamically determine the port. Uncheck and make sure port 1433 is used: Change the default database to pmon: The rest of the defaults are OK: Click finish, and the summary screen […]
Logging Performance Monitor Counters to SQL Server – Part 3
There are 4 parts to this article: Part 1 – Part 2 – Part 3 – Part 4 Click Test Data Source, and if all is happy, a window showing the results of the ODBC connectivity test will pop up: Another summary of the ODBC connection: Let’s use our perfmon database. In performance monitor, create […]
Logging Performance Monitor Counters to SQL Server – Part 4
There are 4 parts to this article: Part 1 – Part 2 – Part 3 – Part 4 After you close out the settings, the counter log should be started. If not, then start it: Add the counters from the database by clicking on the log icon from System Monitor and selecting the database via […]
Lua Monitoring Script
Here is a Lua script we put together that measures the latency of a web host, the time to resolve the host, and the time to retrieve a page: — time to resolve host, time to ping host, time to get host/page print (“\”page name\”,\”host latency ms\”,\”dns resolve ms\”,\”page receive ms\””) — fromCSV from http://www.lua.org/pil/20.4.html […]
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, […]
Forwarding Rsyslog Logs to Central Server
If you would like to forward your logs to a central syslog server, add something like this to the bottom of rsyslog.conf: $WorkDirectory /var/spool/rsyslog # where to place spool files $ActionQueueFileName fwdRuleall # unique name prefix for spool files $ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible) $ActionQueueSaveOnShutdown on # save messages […]
Installing SNMP on Windows Server 2003 Using Net-SNMP
Installing SNMP on Windows Server 2003 Using Net-SNMP
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: […]