Hi, any other feedback on the location of the email template file or adding more information to the automated report that arrives to mailbox?
Risto
From: observium <observium-bounces@observium.org>
On Behalf Of Risto Jürisson via observium
Sent: esmaspäev, 20. juuli 2020 10:20
To: observium@observium.org
Cc: Risto Jürisson <risto@blueit.ee>
Subject: Re: [Observium] Changing Observium alert message contents
I would like to have more information in my email alert messages. - Adding the names to DNS or hosts file does not currently give enough information.
I was hoping that someone here already knows where this template file is located
😊 (and I would back that file up before modifying it
😉).
Best regards
Risto
Date: Fri, 17 Jul 2020 22:03:41 +0200
From: Tom Laermans <tom.laermans@powersource.cx>
Subject: Re: [Observium] ***SPAM*** Re: Changing Observium alert message contents
I would personally just add host names into DNS but we've had this discussion for 10 years now :D
If you can't find the template you'd better not change it as you may have issues resolving conflicts upon upgrades...
Tom
On 7/17/2020 7:34 PM, adama--- via observium wrote:
>
> Why do you think manually setting the (almost entirely unused)
> description field is less work than adding hostnames to /etc/hosts?
>
> Adam.
>
> *From:*observium <observium-bounces@observium.org> *On Behalf Of
> *Risto Jürisson via observium
> *Sent:* 17 July 2020 14:44
> *To:* observium@observium.org
> *Cc:* Risto Jürisson <risto@blueit.ee>
> *Subject:* Re: [Observium] Changing Observium alert message contents
>
> Hi
>
> Your solution does work for changing the name from IP address to
> hostname. (In the picture below I removed the device from web
> interface and readded it so the history got deleted.)
>
> What I can see is that the Device name is now in 3 places where
> previously the IP address was: Email Title, Entity and Device.
>
> As we also have very many network devices that we want to monitor then
> we think that adding all those IP addresses with hostnames manually to
> the DNS (or hosts file) is not very practical, especially if we need
> to to it also with future devices.
>
> Maybe there still is a possibility that we can change the email
> contents with some other fields: adding Description, Location or
> something like that?
>
> Someone maybe knows where this template config file is located?
>
> Best regards
>
> Risto
>
> Date: Thu, 16 Jul 2020 15:28:00 +0200
>
> From: Markus Klock <markus@best-practice.se
> <mailto:markus@best-practice.se>>
>
> To: Observium <observium@observium.org
> <mailto:observium@observium.org>>
>
> Subject: Re: [Observium] Changing Observium alert message contents
>
> Message-ID:
>
>
> <CAF6uZmLm4R+RAb6UhazZPztF4jgXjOx=6dft_y5M193k_NzFBw@mail.gmail.com
> <mailto:CAF6uZmLm4R+RAb6UhazZPztF4jgXjOx=6dft_y5M193k_NzFBw@mail.gmail
> .com>>
>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> the best way is to monitor the device via its hostname instead of IP.
>
> Login to the Observium server CLI and use the script
> "rename_device.php <old_name> <new_name>" where the old name is the
> device IP and the new name is the hostname.
>
> This will rename the device in Observium to its real hostname and the
> poller will just resolve its dns name to find the IP to poll.
>
> All the historic data for the device will remain.
>
> /Markus
>
> Den tors 16 juli 2020 kl 14:01 skrev Risto Jürisson via observium <
>
> observium@observium.org <mailto:observium@observium.org>>:
>
> > Hi
>
> >
>
> >
>
> >
>
> > This is my first message to this list. I also wrote to the IRC on
>
> > different days, but the web-based IRC client is not really good as
>
> > information goes missing after disconnecting and relogging.
>
> >
>
> >
>
> >
>
> > We have Observium running on Ubuntu 16.04 and are monitoring
> > different
>
> > Windows servers and also some network devices. Below there is a pic
> > of
>
> > an alert for a Mikrotik wifi device that has gone down. We added the
>
> > device to Observium via IP and therefore we also see the Device name
>
> > with the IP address. Sadly we do not remember all the devices via
>
> > their IP, but rather their hostname or description.
>
> >
>
> > I have set human-friendly names on the observium web interface to
>
> > device „System name“ value and also under „General Device Settings“
> > to
>
> > „Description“ value. – *Is there a possibility to add those fields
> > to
>
> > the email report and where should I do this?*
>
> >
>
> > From IRC channel I got an answer that the email template can be
>
> > changed for the Observium Pro version but I do not know where to
> > find
>
> > this config file. This can not be done in the web interface as I understand.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > (I also have questions on how to monitor services on Windows Server
>
> > but I think that is via SNMP and specific OID/MIB´s. So I will look
>
> > into that myself first.)
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Best regards
>
> >
>
> >
>
> >
>
> > Risto