I want to print a list of all the hosts connected to the domain.
I'm looking for a command which does more or less what that one in Powershell does, but for Linux:
Get-ADComputer -Filter * | ForEach-Object {$_.Name}
So, what I want to do is getting a list with all the hosts on a domain and then compare it with all the hosts which are already monitored with Nagios.