[shkadi@ams900 nagios]$ cd hosts/
[shkadi@ams900 hosts]$ sudo grep -rn "asftp900"
eft_hosts.cfg:14:       host_name       asftp900
eft_hosts.cfg:15:       alias           asftp900 - PCI Internet SFTP Server
eft_hosts.cfg.old:14:   host_name       asftp900
eft_hosts.cfg.old:15:   alias           asftp900 - PCI Internet SFTP Server
eft_hosts.cfg-20170710-1751:14: host_name       asftp900
eft_hosts.cfg-20170710-1751:15: alias           asftp900 - PCI Internet SFTP Server
[shkadi@ams900 hosts]$





eft_hosts.cfg.old:14:   host_name       asftp900
eft_hosts.cfg.old:15:   alias           asftp900 - PCI Internet SFTP Server
eft_hosts.cfg-20170710-1751:14: host_name       asftp900
eft_hosts.cfg-20170710-1751:15: alias           asftp900 - PCI Internet SFTP Server
[shkadi@ams900 hosts]$ ^C
[shkadi@ams900 hosts]$
[shkadi@ams900 hosts]$
[shkadi@ams900 hosts]$ ls
adx900.cfg.old  adx906.cfg.old  ddx900.cfg  eft_b24r_uat   eft_hosts.cfg-20170710-1751  eft_uat
adx903.cfg      ase010.cfg.old  ddx901.cfg  eft_hosts.cfg  eft_hosts.cfg.old            hostgroups.cfg
[shkadi@ams900 hosts]$
[shkadi@ams900 hosts]$
[shkadi@ams900 hosts]$ sudo vim eft_hosts.cfg
define host{
        name                    generic
        check_command           check-host-alive
        check_period            24x7
        max_check_attempts      10
        notification_options    d,u,r
        notification_interval   90
        notification_period     no-sun
        contact_groups          ets-pager
        register                0
}

define host{
        host_name       asftp900
        alias           asftp900 - PCI Internet SFTP Server
        address         10.180.50.100
        hostgroups      linux-vm-servers,linux-clamav,centos-servers,SNMP-UX3
        use             generic
        }

