Hi Horatiu,

Thanks a lot for your support. You're a star.

Another questions related to the same config: what will be the configuration if 
I have to place check points on the memory and disk usage? For instance if I 
want to set warning message if memory utilization reaches 80% and critical 
indicator when it reaches 90%? Also the same indicators for disk space check? 

Thanks in advance :-) 

Kind Regards,

Rohit Gupta


-----Original Message-----
From: icinga-users [mailto:[email protected]] On Behalf Of 
Horatiu N
Sent: 22 October 2015 18:02
To: [email protected]
Subject: Re: [icinga-users] Service related question for remote node (windows)

Hello,
>From what you're telling me it looks like you need to setup a check memory 
>service.
Should be like this on your windows server:
in C:\Program Files (x86)\ICINGA2\etc\icinga2\conf.d\services.conf
or wherever you installed it :)
just add this (check already existing examples for inspiration)

apply Service "memory" {
        import "generic-service"
        check_command = "memory-windows"
        assign where host.name == NodeName
}

then restart the service or reload it i dont know exactly how that works in 
windows, and wait a couple of seconds for the config to be sent to the master 
then on the master issue a icinga2 node list and you should see smth like :

Node 'windowsserver' (last seen: Thu Oct 22 20:00:07 2015)
    * Host 'windowsserver'
        * Service 'ping4'
        * Service 'ping6'
        * Service 'disk'
        * Service 'disk C:'
        * Service 'icinga'
        * Service 'load'
        * Service 'procs'
        * Service 'swap'
        * Service 'users'
        * Service 'memory' <---- there .

then just update your config
icinga2 node update-config
service icinga2 restart
and check your front-end. that should do it.
more on this plugin's specifics here :
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/windows-plugins#windows-plugins-memory-windows

Best wishes :)

Horatiu.

On 22-Oct-15 6:29 PM, Rohit Gupta wrote:
> Dear,
> 
>  
> 
> I am newbie and have been assigned to configure Icinga2 as our 
> monitoring tool. So far, I have been successful in installing Icinga2 
> on Ubuntu server 15.04 following the setup docs and also been 
> successful in installing the remote client (windows Server) icinga 
> agent application and synchronizing with Master node.
> 
>  
> 
> Now, I can see the new server on the icinga-web but I am unable to see 
> 'mem' service on it. Can you please assist as what do I have to do in 
> order to get 'mem' service listed? Also if I have to setup the 
> arguments on disk capacity & mem (for instance warn, critical etc) 
> then on which files I have to make changes in order to make it happen.
> 
>  
> 
> Thanks in advance for your generosity and time to assist.
> 
>  
> 
> Kind Regards,
> 
>  
> 
> *Rohit Gupta*
> 
> IT Infrastructure Manager
> 
> 
> * *
> 
>  
> 
> 
> 
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
> 

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to