How to change Monitor on localhost.localdomain in monitor emails?

6 posts / 0 new
Last post
#1 Thu, 06/04/2015 - 03:42
amityweb

How to change Monitor on localhost.localdomain in monitor emails?

Hi

I have about 10 servers, and I occasionally get this: Monitor on localhost.localdomain for 'xxxxxx' has detected that the service has gone down/up etc.

Where can I change localhost.localdomain? I have to look in the email headers everytime to find which server it came from.

The server's hostname is correctly set, so its not using that. Even if I go into Postfix and enter the domain to send mail from, these alerts still come from webmin@localhost.localdomain and have localhost.localdomain n the body.

Thanks!

Thu, 06/04/2015 - 10:34
andreychek

Howdy,

What is your server's hostname? You can determine that by running the command "hostname".

-Eric

Tue, 06/09/2015 - 09:25
amityweb

[removed]

Fri, 06/05/2015 - 09:15
amityweb

I was working on a completely seperate thing, and went to "Webmin -> Network -> Hostname and DNS Client" and in there it said the hostname was localhost.localdomain, even though the hostname command returned the correct one. So I changed it in here. Lets see if that fixes it.

Fri, 06/05/2015 - 11:03
andreychek

Howdy,

Ah, nice find! Hopefully that resolves your issue.

-Eric

Tue, 06/09/2015 - 09:25
amityweb

just wanted to confirm that fixed it :)

Topic locked