On Sun, 6 Mar 2011 23:57:17 -0500 Bassford John jbass29503@gmail.com wrote:
Ricky
assuming you send notifications as email a simple fix to tell that a nagios notification came from a "specific server" is to just edit the comment section in the password file for the account nagios is running as, usually nagios
noc01 /etc/passwd nagios:x:100:100:nagios-noc1:/home/nagios:/sbin/nologin
noc02 /etc/passwd nagios:x:100:100:nagios-noc02:/home/nagios:/sbin/nologin
email would show
nagios-noc1 <nagios at noc01> nagios-noc2 <nagios at noc02>
of course you could change your 'notification' template too..
Yeah, either would work. It might be nice to see easily which one it came from.
am new to the list and looking to assist with fedora-infrastructure, and thought I would start with an area I know (nagios), hopefully this is helpful and starts me on my way of actually knowing how fpo nagios is setup , so at some later date I could provide a more viable answer.
Excellent and welcome. ;)
am jbass29503 on #fedora-admin
Feel free to ask questions or add comments there as you like...
kevin