DevTech101

DevTech101

monitoring

Java sockets – system monitoring / server – parallel stats capturing

While capturing local system stats I needed a way to run parallel captures The code below is still a work in progress how to can/will be done, more on that is explained below. For example: I am trying to capture CPU, Mem every second, but at the same I am also capturing my db response …

Java sockets – system monitoring / server – parallel stats capturing Read More »

Java sockets – system monitoring / server publisher process

This is part two – on how to capture and publish Solaris client performance stats. To read part one please click here. This program will retrieve the last system stats from the local SQLite DB and make it available over a socket or http connection for remote fetching. Once the program is running, just telnet …

Java sockets – system monitoring / server publisher process Read More »

Java sockets – system monitoring / server capture process

Monitoring remote Solaris client’s by using Java sockets. The below configuration shows how to configure a host (Solaris or Linux), to expose local performance states in JSON using Java sockets, the stats are then collected by a remote system to crunch (graph/chart) the data. The full capture pipeline process is outline below. Note: If losing …

Java sockets – system monitoring / server capture process Read More »

Integrating Oracle Ops Center Alert Notifications With Nagios

Contents 1 This document address how to disable nagios notification’s with Ops Center 1.1 Nagios notification overview 1.2 Nagios notifications 1.2.1 Methods to disable Nagios notifications remotely 1.2.2 Center and Nagios 1.2.2.1 Ops Center configuration 1.3 Scripts used to disable/enable Nagios 1.4 Example to enable/disable nagios with curl This document address how to disable nagios …

Integrating Oracle Ops Center Alert Notifications With Nagios Read More »

Oracle Solaris ZFS health / scrubbing check script

The ZFS script will check ZFS pool health and do scheduled scrubbing. Get ZFS script Modify the below values in the script to your mail admin and mail address. my $mydomain = $hostname; my $mailfrom = “sysadmin\@$hostname.domain.com”; my $mailto = “admin\@domain.com”; my $mailhost = “10.10.10.10”; # switch to ip or real mail host