Page 2 of 2

Re: Porblem installing the Windows Agent

Posted: Fri Jan 23, 2015 6:36 pm
by Box293
ziedmahjoub wrote:2- can someone tell me how when i want to monitor a 2nd windows host , how i must modify this ? :

Code: Select all
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$
}

i just need to copy paste and change USER1 to USER2 and another PASSWORD
or just let it and add argument -s PASSWORD2 in the same command_line ???
The command does not change.

You create another service for the new host which uses this command.
Also, if the checks are identical, you can create a hostgroup, assign the multiple hosts into the hostgroup, and then assign the service to the hostgroup ... this way you have one configuration definition but multiple hosts with that service.

Time-Saving Tricks For Object Definitions

Re: Porblem installing the Windows Agent

Posted: Sat Jan 24, 2015 4:48 am
by ziedmahjoub
Also, if the checks are identical, you can create a hostgroup, assign the multiple hosts into the hostgroup, and then assign the service to the hostgroup ... this way you have one configuration definition but multiple hosts with that service.

Time-Saving Tricks For Object Definitions
Box293 this section is ok i understand it , thanks so much !!

And the client worked well for windwos 7 64 bits and i was able to monitor it, but the icon tray didn't show up and if i enable it it says :"offline" so maybe its a bug .

Another thing , i've seen that you told me not change the check_nt command_line so i understand that all client machines
must have the same password behind the [settings] section ,is that right ?? Because when i did that i was able to monitor more then 1 machine

Re: Porblem installing the Windows Agent

Posted: Mon Jan 26, 2015 9:01 am
by ziedmahjoub
lgroschen wrote:I think the apt rpm you need is libssl-dev instead of openssl-dev
i did it but when i make ./configure it tolds me :

Code: Select all

Cheking for SSL libraries... configure : error : Cannot find ssl libraries

Re: Porblem installing the Windows Agent

Posted: Mon Jan 26, 2015 10:19 am
by lgroschen
Find the package with this:

Code: Select all

apt-file search libssl | grep libssl-dev
Then if it's available try this to configure:

Code: Select all

./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu

Re: Porblem installing the Windows Agent

Posted: Mon Jan 26, 2015 11:25 am
by ziedmahjoub
Thanks lgroschen , its done !!

i received response :

Code: Select all

I (0.3.7.494 2009-10-12) seem to be doing fine
so the nrpe plugin is installed and working properly !!

problem solved . Thank you box293 , thank you Igroschen , thanks all

Re: Porblem installing the Windows Agent

Posted: Mon Jan 26, 2015 11:43 am
by cmerchant
We'll go ahead and close the thread. Thanks.