Compare commits

...

3 Commits
v1.1.3 ... main

Author SHA1 Message Date
Mark Nellemann bb6a5f47c6 Update README.md 2024-05-17 06:19:16 +00:00
Mark Nellemann 5204142cb4 Remove ansible example
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-11-02 20:03:01 +01:00
Mark Nellemann 80066b0c2e Update dependencies and bump version. 2023-11-02 09:40:47 +01:00
3 changed files with 6 additions and 104 deletions

View File

@ -1,61 +1,3 @@
# System Monitor
# Repository moved
Open source system monitoring solution with support for plugins and scripts.
This software is free to use and is licensed under the [Apache 2.0 License](LICENSE).
- Example dashboards are provided in the [doc/dashboards/](doc/dashboards/) folder, which can be imported into your Grafana installation.
- Screenshots of some of the default dashboards are available in [doc/screenshots](doc/screenshots/) section.
![Sysmon Icon](doc/sysmon.png)
Some of my other related projects are:
- [hmci](https://git.data.coop/nellemann/hmci) for agent-less monitoring of IBM Power servers
- [svci](https://git.data.coop/nellemann/svci) for monitoring IBM Spectrum Virtualize (Flashsystems / Storwize / SVC)
- [syslogd](https://git.data.coop/nellemann/syslogd) for redirecting syslog and GELF to other logging destinations
## Screenshots
![screenshot](doc/screenshots/sysmon1.png)
Screenshots of other dashboards are available in the [doc/screenshots](doc/screenshots/) folder.
## Components
### Server
The server component receives aggregated metrics from *clients* and saves these into InfluxDB.
- Downloaded from [packages](https://git.data.coop/nellemann/-/packages/generic/sysmon/).
- More information and documentation on the [sysmon-server](server/README.md).
### Client & Plugins
The client runs on all or some of your hosts and collects metrics, which are then sent to the central sysmon-server component. Plugins are loaded by the client at startup and should also be installed.
- Downloaded from [packages](https://git.data.coop/nellemann/-/packages/generic/sysmon/).
- More information and documentation on the [sysmon-client](client/README.md).
. More information and documentation on the [sysmon-plugins](plugins/README.md).
## Known problems
### Correct timezone and clock
- Ensure you have **correct timezone and date/time** and NTPd (or similar) running to keep it accurate!
### Naming collision
You can't have hosts with the same name, as these cannot be distinguished when metrics are
written to InfluxDB (which uses the hostname as key).
### Renaming hosts
If you rename a host, the metrics in InfluxDB will still be available by the old hostname, and new metrics will be written with the new hostname. There is no easy way to migrate the old data, but you can delete it easily:
```text
USE sysmon;
DELETE WHERE hostname = 'unknown';
```
Please visit [github.com/mnellemann/sysmon](https://github.com/mnellemann/sysmon)

View File

@ -1,40 +0,0 @@
---
#
# Example ansible playbook for installation of jload on AIX.
#
# ansible-playbook -i target-host-or-ip, -k -u root --extra-vars "sysmon_url=http://169.50.182.146:80/metrics" setup-client.yml
#
- name: "Install sysmon client and plugins on CentOS/RHEL"
hosts: all
gather_facts: no
tasks:
- name: Sysmon | Install java runtime
yum:
name: java-11-openjdk-headless
state: present
- name: Sysmon | Install sysmon-client RPM package
yum:
name: https://git.data.coop/api/packages/nellemann/generic/sysmon/v1.1.2/sysmon-client-1.1.2-1.noarch.rpm
disable_gpg_check: true
state: present
- name: Sysmon | Install sysmon-plugins RPM package
yum:
name: https://git.data.coop/api/packages/nellemann/generic/sysmon/v1.1.2/sysmon-plugins-1.1.2-1.noarch.rpm
disable_gpg_check: true
state: present
- name: Sysmon | Setup service to start from cron at boot
ansible.builtin.cron:
name: "sysmon-client"
special_time: reboot
job: "/opt/sysmon/client/bin/client -s {{ sysmon_url }} </dev/null >/dev/null 2>&1 &"
- name: Sysmon | Check if sysmon-client is running
shell: "ps -ef | grep 'sysmon-client' | grep -v 'grep'"
register: result
failed_when: result.rc not in [ 0, 1 ]
- name: Debug running_processes
debug:
var: result.stdout
- name: Sysmon | Start sysmon-client service if not running
shell: "nohup /opt/sysmon/client/bin/client -s {{ sysmon_url }} </dev/null >/dev/null 2>&1 &"
when: result.stdout == ""

View File

@ -1,9 +1,9 @@
version = 1.1.3
version = 1.1.4
pf4jVersion = 3.9.0
slf4jVersion = 2.0.7
slf4jVersion = 2.0.9
camelVersion = 3.14.9
groovyVersion = 3.0.18
picocliVersion = 4.7.3
oshiVersion = 6.4.4
picocliVersion = 4.7.5
oshiVersion = 6.4.7
spockVersion = 2.3-groovy-3.0
tomljVersion = 1.1.0