Thanks! Great! I got the DNS test to work!

If anyone else struggles with this, this is how I did it. I made a check in
"Host & Service Parameters", "Active Checks", "Check DNS Service", and
"Create Rule", specified the OMD server in "Explicit hosts", the hostname I
wanted to lookup in Hostname, and the DNS server and Expected Address in
Optional parameters.

The part that I failed on earlier is that I went to Hosts and chose my OMD
server and into Services. The new service I added will say "PEND, WAINTING
- Active check, cannot be done offline", and cannot be added. But you will
have to go to All services, and there it will be listed under the OMD
server and it will work.

This probably worked all the time, but I didn't understand how to do it!

Also I would like to point out a small problem here. The dns name I am
checking on uses Round Robin, so I get this error: "DNS CRITICAL - expected
'10.65.67.54,10.65.67.53,10.65.67.55' but got
'10.65.67.53,10.65.67.54,10.65.67.55'". Not a big problem, I am happy as
long as I get a return from this name server.

Anyway, works now! Thanks for your help guys!

Mvh Roald Amundsen





On Mon, Dec 9, 2013 at 4:03 PM, Bastian Kuhn <[email protected]> wrote:

>
> In the current 1.2.3i7 Version of CMK, its possible to set Active DNS and
> SMB Checks in Wato and it's also possbile to change the Host Check command
> in a easy way with Wato.
>
>
>
> On 09.12.2013 15:45, Roald wrote:
>
>   So what you are telling me is that these things cannot be added in the
> gui? I don't understand why it seems they are available through the gui
> then? (Host & Service Parameters, Active Checks) This is really a
> show-stopper for us, because we were hoping to get out of the shell
> configuration. This way we would be better off running normal Nagios.
>
>  Also, if I override the check_command, won't I only be able to run one
> test against a host?
>
>  I will try to give a better example: I have a server that functions as a
> name server for a small number of hosts in a separate domain. This server
> is a dns server, and have some smb-shares. What I want is to monitor that
> the dns server and file server works without installing an agent on it.
>
> I want the OMD server to nslookup against that server and check that there
> is a reply and that the reply is correct. Also I want the OMD server to
> check that it can access a share from that server. These two checks are in
> the GUI as "Check DNS service" and "Check access to SMB share".
>
>  I can write these into the config-files as you would do in Nagios, but I
> really want to define these checks in OMD.
>
>  Thanks for all help!
>
>
>  On Mon, Dec 9, 2013 at 2:31 PM, marcin kowalski <[email protected]>wrote:
>
>>  For checking remote websites, you should register a new host in
>> check_mk, and then override the check_command for it to something specific
>> (e.g. poking webserver host).
>>
>>  In plain text mode approach, it's presented here :
>>
>> http://mathias-kettner.de/checkmk_configvars.html ,look for
>> host_check_commands
>>
>>  The manual suggests you could use custom services against given host as
>> host check, i haven't explored that much.
>>
>
>
>
> _______________________________________________
> omd-users mailing 
> [email protected]http://lists.mathias-kettner.de/mailman/listinfo/omd-users
>
>
>
> --
> Bastian Kuhn
>
> Mathias Kettner GmbH
> Kellerstraße 29, 81667 München, Germany
> Registergericht: Amtsgericht München,  HRB 165902
> Geschäftsführer: Mathias Kettnerhttp://mathias-kettner.de
> Tel. +49 89 1890 435 - 16
> Fax. +49 89 1890 435 - 29
>
>
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to