Page 1 of 1
How to test new XI server
Posted: Tue Feb 02, 2016 8:35 am
by sutenag
Have imported over all cfg files (hosts,services, groups,templates) from our production XI 2012 R1 7.1 to new XI 5.2.3 server(will replace the old) and all is up and running. Now i want to test the new server with alerts report thru email. What is the best practice here, i have no email config setup yet. The old one is still the online prod server and handle all alerts and email reports. I just wanna create some errors on services and hosts and make the new server send email's trigger from these alerts without have any affects to the real environment.
Re: How to test new XI server
Posted: Tue Feb 02, 2016 10:37 am
by hsmith
In your case, I would set up another email address if possible, assign that to a user, and then assign that contact to some hosts. When I want to test things like this, I usually block ICMP on one of my cloud VPS machines, that way the ping fails and I get an alert.
Re: How to test new XI server
Posted: Thu Feb 04, 2016 12:21 pm
by sutenag
I have to make the test to our real mail server that is connected to the servicedesk, is it anyway in Nagios i can disable all alert settings temporary and test one host or service to my own email adress?
Re: How to test new XI server
Posted: Thu Feb 04, 2016 3:19 pm
by rkennedy
Can you create a new user in XI, and assign an email address to someone on your mail server?
From there, add that contact to a host / service. Then, construct a way to make that service cause an alert and notification. As @hsmith mentioned, blocking ICMP is fairly simple from your host machine.
Re: How to test new XI server
Posted: Fri Feb 05, 2016 6:47 am
by sutenag
What im think and it cannot happen its if i enable email on this new server all imported services and hosts that have been imported with contacts and contacts groups begin to report/send email to servicedesk then we have 2 Nagios servers sending alerts to our desk

Re: How to test new XI server
Posted: Fri Feb 05, 2016 10:41 am
by hsmith
You could disable all of the notifications using the bulk modification tool except for one or two. Maybe not ideal, but if you're looking for a real testing scenario, it is an option. Otherwise, another thing you could do is disable all of the notifications from the admin menu, and then try to send a test email. The problem with this is that the test notification isn't going to be a 'realistic' scenario, as it's just a test email. Let us know if these are not ideal.