SMonitor


#1

What are you using SMonitor for?
(different from the standard installation)

You might be able to make other people happy
by sharing your configuration entries here:



Snap Store


#2

Sometimes a simple ping is insufficient

[OBJECT]
Active=true
Status=true
Name=ping lima-city
Command=ping -c 1 -W 2 smolka.lima-city.de
Notifier=konsole --nofork --noclose -e ping -c 4 smolka.lima-city.de

because ‘ping’ is blocked, you want to know if the web server is responding, and to check if a specific file exists respectively. There are some alternatives like ‘curl’, ‘httping’ or ‘wget’. While the other ones often deliver an ‘OK’ (0) when expecting an error code, I experienced that wget in spider mode works best for me.

Example 1: Checking if a web server is responding with wget --spider

[OBJECT]
Active=true
Status=true
Name=abap developer
Command=wget --spider --force-html -i https://smolka.lima-city.de/index.php
Notifier=konsole --nofork --noclose -e wget --spider --force-html -i https://smolka.lima-city.de/index.php

.

Will be continued…
So long,
J


#3

Call for testing: SMonitor

Who is interested in doing some (pre)testing of the latest SMonitor?

Please register at: https://smolka.lima-city.de/contact.php


https://smolka.lima-city.de/smonitor/


First come, first served.

  Primer venido, primer servido.

      Wer zuerst kommt, mahlt zuerst.

#4

Remember:
There are some options like ‘curl’, ‘httping’ or ‘wget’. While the former ones often deliver an okay code (0) when expecting an error code (1+); wget [–spider] works best for me.

Example 2: Monitor, view, and activate a log file with wget

[OBJECT]
Active=true
Status=true
Name=abap developer log
Command=wget --spider --force-html -i https://smolka.lima-city.de/mylog.flg
Notifier=konsole --nofork --noclose -e wget -O - https://smolka.lima-city.de/mylog.html

[OBJECT]
Active=true
Status=false
Name=read abap dev log
Command=xdg-open https://smolka.lima-city.de/mylog.html
Notifier=

[OBJECT]
Active=true
Status=false
Name=reset abap dev log
Command=xdg-open https://smolka.lima-city.de/mylog-reset.php
Notifier=

I am still hoping to get some interesting use cases from you …

Cheers!
Juergen

:star_struck: