These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to change Monitor on localhost.localdomain in monitor emails? on the new forum.
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!
Howdy,
What is your server's hostname? You can determine that by running the command "hostname".
-Eric
[removed]
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.
Howdy,
Ah, nice find! Hopefully that resolves your issue.
-Eric
just wanted to confirm that fixed it :)