Re: Any open-source iOS / Android client applications?

2022-08-25 Thread Ciprian Craciun
First of all let me acknowledge that M/Monit is great at what it does.
However, as said previously, for small home deployments, having
yet-another-service to deploy, configure and monitor just adds more
"work".

At the moment deploying individual Monit instances, instructing them
to send alerts over email, and bookmarking their dashboard links is
more than enough to monitor such a small home deployment.  This almost
covers 99% of what one would desire.

The final 1%, as mention initially, is just a friendlier UI on a
mobile device, which if nothing works, could just be the bookmarked
dashboard links.



Now, given there is no mobile application, I've received a couple of
suggestions and I would like to comment on them.


On Mon, Aug 22, 2022 at 11:44 AM Roland Giesler
 wrote:
> You could set up a jabber server in m/monit to send push notifications to 
> your phone?

I was not aware that M/Monit is able to send Jabber messages.

However, using them implies now one also needs a Jabber server.  One
can either use a public server (as Roland mentioned), or install one
(which adds yet-another-service to deploy, configure and monitor).


On Tue, Aug 23, 2022 at 7:00 PM  wrote:
> are you aware of the suggestions to use Pushover or Slack,
> see https://mmonit.com/wiki/Notification/Notification

I was also not aware that M/Monit is able to integrate with either
Pushover or Slack.

Pushover is nice, and I was seriously thinking about buying a license
for other uses.

Slack implies one already has a Slack workspace.  (And I'm not very
happy with Slack's resource usage at least on the desktop...)



However, what all of these solutions have in common is that they
complicate the "tech stack" even more.  All of a sudden one needs
(besides the individual Monit instances) a M/Monit instance plus an
external service.

Moreover, there is the reliability issue:  no notification (either
Email, Slack, Pushover, Jabber, IRC, whatever) doesn't mean there is
no problem...  Maybe the Monit instance itself is down, thus no
monitoring or alerts to begin with;  maybe the M/Monit instance is
down thus no notification is sent;  maybe the third-party notification
system has a problem, thus no notification is relayed;  maybe my
mobile device has no connectivity, thus no notification is received...
(And in this regard, I've had serious issues with Slack notification
delivery...)


However with an application that does polling (say once a few minutes
or tens of minutes) the "tech stack" is as simple as it gets:  Monit
instances, the mobile application;  nothing in between except the
network.

Also the reliability is somewhat improving:  if a Monit instance "goes
down" it either means my mobile device lost connectivity (which could
be solved by a simple "ping" to a well-known-public server like
`https://1.1.1.1/`), either the server is actually down.


> It's not a good idea to have an app that polls services on a mobile, since it 
> will drain the battery in no time.

Indeed having an application doing constant polling would kill a
mobile device battery.  However the user could have the option of
decreasing the polling time (say once half an hour), or even disabling
it (thus using the application as a simple browser+bookmark
replacement.)


Thus, although the notification-based alternative would work, I don't
think it solves my initial use-case for a mobile application.

Thanks,
Ciprian.



RE: Re: Any open-source iOS / Android client applications?

2022-08-23 Thread lutz . mader

Hello,
are you aware of the suggestions to use Pushover or Slack, 
see https://mmonit.com/wiki/Notification/Notification



With regards,
Lutz



-ursprüngliche Nachricht-
Von: ciprian.crac...@gmail.com
Gesendet: 21.08.2022 23:51 Uhr
An: monit-general@nongnu.org
Betreff: Re: Any open-source iOS / Android client applications?




On Tue, Aug 16, 2022 at 2:11 PM Roland Giesler wrote:
> Is there a reason why you don't use m/monit? It's a once-off license fee, you 
get the full source-code and it's pretty comprehensive. Also, you'd be supporting 
the project by using it.

Well, for starters M/Monit (from a deployment and usage point of view)
is just another server I have to deploy, that will be accessed through
a HTTP-based UI or API, thus it doesn't solve my initial problem of
having a native Android client (with native notifications and alerts).
With either Monit or M/Monit I'll still have to keep the browser tab
open, reload manually and look at it.

Other than that, the price is OK for a small business, however I want
to use it with a few personal servers, and for my use-case I don't
need the extra features M/Monit brings.

Ciprian.




-ursprüngliche Nachricht Ende- 







Re: Any open-source iOS / Android client applications?

2022-08-22 Thread Roland Giesler
You could set up a jabber server in m/monit to send push notifications to
your phone?  It's not difficult and there are examples in the m/monit
manual.  It's not a good idea to have an app that polls services on a
mobile, since it will drain the battery in no time.

Jabber services are available from many providers.  You could even receive
message in Telegram with customer notification sounds based on what the
message is.

Roland


On Sun, 21 Aug 2022 at 23:52, Ciprian Craciun 
wrote:

> On Tue, Aug 16, 2022 at 2:11 PM Roland Giesler 
> wrote:
> > Is there a reason why you don't use m/monit?  It's a once-off license
> fee, you get the full source-code and it's pretty comprehensive.  Also,
> you'd be supporting the project by using it.
>
> Well, for starters M/Monit (from a deployment and usage point of view)
> is just another server I have to deploy, that will be accessed through
> a HTTP-based UI or API, thus it doesn't solve my initial problem of
> having a native Android client (with native notifications and alerts).
> With either Monit or M/Monit I'll still have to keep the browser tab
> open, reload manually and look at it.
>
> Other than that, the price is OK for a small business, however I want
> to use it with a few personal servers, and for my use-case I don't
> need the extra features M/Monit brings.
>
> Ciprian.
>
>


Re: Any open-source iOS / Android client applications?

2022-08-21 Thread Ciprian Craciun
On Tue, Aug 16, 2022 at 2:11 PM Roland Giesler  wrote:
> Is there a reason why you don't use m/monit?  It's a once-off license fee, 
> you get the full source-code and it's pretty comprehensive.  Also, you'd be 
> supporting the project by using it.

Well, for starters M/Monit (from a deployment and usage point of view)
is just another server I have to deploy, that will be accessed through
a HTTP-based UI or API, thus it doesn't solve my initial problem of
having a native Android client (with native notifications and alerts).
With either Monit or M/Monit I'll still have to keep the browser tab
open, reload manually and look at it.

Other than that, the price is OK for a small business, however I want
to use it with a few personal servers, and for my use-case I don't
need the extra features M/Monit brings.

Ciprian.



Re: Any open-source iOS / Android client applications?

2022-08-16 Thread Roland Giesler
On Fri, 12 Aug 2022 at 18:48, Ciprian Craciun 
wrote:

> On Fri, Aug 12, 2022 at 6:44 PM Roland Giesler 
> wrote:
> > You know that each monit installation exposes it's status via a
> web-interface which you configure and query?  That should allow you create
> what you need...
>
> Yes, I know one can use the web interface by just bookmarking the URL.
> However I was hoping for something more elaborated.  :)
>
> (For example one could actually use the XML status export to build a
> custom dashboard instead of relying on the HTML UI.)
>

Is there a reason why you don't use m/monit?  It's a once-off license fee,
you get the full source-code and it's pretty comprehensive.  Also, you'd be
supporting the project by using it.

Roland

>
> Ciprian.
>
>


Re: Any open-source iOS / Android client applications?

2022-08-12 Thread Ciprian Craciun
On Fri, Aug 12, 2022 at 6:44 PM Roland Giesler  wrote:
> You know that each monit installation exposes it's status via a web-interface 
> which you configure and query?  That should allow you create what you need...

Yes, I know one can use the web interface by just bookmarking the URL.
However I was hoping for something more elaborated.  :)

(For example one could actually use the XML status export to build a
custom dashboard instead of relying on the HTML UI.)

Ciprian.



Re: Any open-source iOS / Android client applications?

2022-08-12 Thread Roland Giesler
You know that each monit installation exposes it's status via a
web-interface which you configure and query?  That should allow you create
what you need...

On Fri, 12 Aug 2022 at 16:27, Ciprian Craciun 
wrote:

> Hello all!
>
> I'm searching for an Android (or iOS) application (preferably
> open-source) that would allow me to view a handful standalone Monit
> instances?
>
> It would be nice if the client would poll the Monit instances in the
> background and notify if something is wrong, but even a simple
> application that puts the Monit interface in a webview would suffice.
> (I'm already using email based alerts.)
>
> (I know there is M/Monit, but my Monit instances are not part of the
> same infrastructure / deployment.)
>
> Thanks,
> Ciprian.
>
>