What your message in the logs is saying is that on the server side you don't 
have a host-object named "win_xp-pm" with a service named "memory_ram"

You will have to have something like this on the server side.

define host{
        use             generic-host     ; Inherit default values from a 
template
        host_name       win_xp-pm                ; The name we're giving to 
this host
        hostgroups      <whatever host group you have>
        alias           Windows XP PM                ; A longer name associated 
with the host
        address         0.0.0.0         ; IP address of the host
        check_command   check_dummy!0
        }

define service {
        use                     generic-service
        host_name               win_xp-pm
        service_description     memory_ram
        check_command           check_dummy!0
        active_checks_enabled        0
        passive_checks_enabled        1
}

Marko Vainiokangas

-----Original Message-----

Message: 4
Date: Sat, 30 Nov 2013 19:22:19 +0100 (CET)
From: ici...@rfx.it
Subject: [icinga-users] Windows passive check
To: icinga-users@lists.sourceforge.net
Message-ID: <alpine.lrh.2.02.1311301917240.2...@andretta.apf.it>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


I need to monitor windows client activity.
I tried to configure NSCA on the server and NSClient++ on the client

I can submit the checks, but I can't process it.

I need some syntax example for configuring client and server side.

Links, hints, ... ?

Thanks, P.


P.S.: Below a tail of my icinga.log (if useful)
____________________________________________


[1385834334] Warning:  Passive check result was received for service 
'page_mem_check' on host 'win_xp-pm', but the service could not be found!
[1385834401] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;memory_ram;1;WARNING: physical memory: 
Total: 1G - Used: 839M (81%) - Free: 184M (19%) > warning|'physical memory 
%'=81%;80;95 'physical memory'=839.066M;818.831;972.362;0;1023.539
[1385834401] Warning:  Passive check result was received for service 
'memory_ram' on host 'win_xp-pm', but the service could not be found!
[1385834401] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;disk_size;0;OK: All drives within 
bounds.|'C:\ %'=18%;10;5 'C:\'=15235.246M;1842.608;921.304;0;18426.082 'E:\ 
%'=83%;10;5 'E:\'=2884.863M;1637.874;818.937;0;16378.738
[1385834401] Warning:  Passive check result was received for service 
'disk_size' on host 'win_xp-pm', but the service could not be found!
[1385834401] EXTERNAL COMMAND: 
PROCESS_HOST_CHECK_RESULT;win_xp-pm;0;Everythingisfine!
[1385834405] PASSIVE HOST CHECK: win_xp-pm;0;Everythingisfine!
[1385834565] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;events;0;Eventlog check 
ok|'eventlog'=0;1;1
[1385834565] Warning:  Passive check result was received for service 'events' 
on host 'win_xp-pm', but the service could not be found!
[1385834565] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;page_mem_check;0;OK: page file: 
0.986G|'page file %'=59%;80;90 'page file'=0.98599G;1.322;1.488;0;1.653
[1385834565] Warning:  Passive check result was received for service 
'page_mem_check' on host 'win_xp-pm', but the service could not be found!
[1385834643] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;cpu_load;0;OK CPU Load 
ok.|'20m'=5%;80;90 '10s'=5%;80;90 '4'=6%;80;90
[1385834643] Warning:  Passive check result was received for service 'cpu_load' 
on host 'win_xp-pm', but the service could not be found!
[1385834643] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;server_uptime;0;OK all counters within 
bounds.|'uptime'=925789000;3600000;0
[1385834643] Warning:  Passive check result was received for service 
'server_uptime' on host 'win_xp-pm', but the service could not be found!
[1385834709] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;memory_ram;1;WARNING: physical memory: 
Total: 1G - Used: 842M (82%) - Free: 182M (18%) > warning|'physical memory 
%'=82%;80;95 'physical memory'=841.684M;818.831;972.362;0;1023.539
[1385834709] Warning:  Passive check result was received for service 
'memory_ram' on host 'win_xp-pm', but the service could not be found!
[1385834709] EXTERNAL COMMAND: 
PROCESS_HOST_CHECK_RESULT;win_xp-pm;0;Everythingisfine!
[1385834709] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;disk_size;0;OK: All drives within 
bounds.|'C:\ %'=18%;10;5 'C:\'=15235.246M;1842.608;921.304;0;18426.082 'E:\ 
%'=83%;10;5 'E:\'=2884.738M;1637.874;818.937;0;16378.738
[1385834709] Warning:  Passive check result was received for service 
'disk_size' on host 'win_xp-pm', but the service could not be found!
[1385834715] PASSIVE HOST CHECK: win_xp-pm;0;Everythingisfine!
[1385834874] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;events;0;Eventlog check 
ok|'eventlog'=0;1;1
[1385834874] Warning:  Passive check result was received for service 'events' 
on host 'win_xp-pm', but the service could not be found!
[1385834874] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;page_mem_check;0;OK: page file: 
0.989G|'page file %'=59%;80;90 'page file'=0.98899G;1.322;1.488;0;1.653
[1385834874] Warning:  Passive check result was received for service 
'page_mem_check' on host 'win_xp-pm', but the service could not be found!
[1385834952] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;server_uptime;0;OK all counters within 
bounds.|'uptime'=926089000;3600000;0
[1385834952] Warning:  Passive check result was received for service 
'server_uptime' on host 'win_xp-pm', but the service could not be found!
[1385834952] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;cpu_load;0;OK CPU Load 
ok.|'20m'=5%;80;90 '10s'=5%;80;90 '4'=6%;80;90
[1385834952] Warning:  Passive check result was received for service 'cpu_load' 
on host 'win_xp-pm', but the service could not be found!
[1385835019] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;memory_ram;1;WARNING: physical memory: 
Total: 1G - Used: 844M (82%) - Free: 180M (18%) > warning|'physical memory 
%'=82%;80;95 'physical memory'=843.988M;818.831;972.362;0;1023.539
[1385835019] Warning:  Passive check result was received for service 
'memory_ram' on host 'win_xp-pm', but the service could not be found!
[1385835019] EXTERNAL COMMAND: 
PROCESS_HOST_CHECK_RESULT;win_xp-pm;0;Everythingisfine!
[1385835019] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;win_xp-pm;disk_size;0;OK: All drives within 
bounds.|'C:\ %'=18%;10;5 'C:\'=15235.246M;1842.608;921.304;0;18426.082 'E:\ 
%'=83%;10;5 'E:\'=2884.738M;1637.874;818.937;0;16378.738
[1385835019] Warning:  Passive check result was received for service 
'disk_size' on host 'win_xp-pm', but the service could not be found!
[1385835025] PASSIVE HOST CHECK: win_xp-pm;0;Everythingisfine!



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to