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>

To: Observium <observium@observium.org>

Subject: Re: [Observium] Changing Observium alert message contents

Message-ID:

                <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>:

 

> 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

> 

> IT-manager

> 

> risto@blueit.ee

> 

> 

> _______________________________________________

> observium mailing list

> observium@observium.org

> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

>