Nagios Reporting Alias Name instead of Hostname

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
bubbahyde
Posts: 1
Joined: Wed Jul 17, 2013 7:54 am

Nagios Reporting Alias Name instead of Hostname

Post by bubbahyde »

My email notifications are displaying the NAGIOS alias rather than the actual hostname. Where is this defined?

Host: NSOF Family of Service - FOS2

Thanks!@
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Reporting Alias Name instead of Hostname

Post by abrist »

The alias can found in the object definitions:
http://nagios.sourceforge.net/docs/3_0/ ... tions.html
You can change the notification command to use the hostname macro instead of the alias:
http://nagios.sourceforge.net/docs/3_0/ ... l#hostname
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked