Search found 28 matches

by sidserra
Tue Jul 05, 2016 2:52 pm
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

tgriep, I know this, I was trying to compare two passive checks solutions, one to Linux and one to Windows. Linux works fine, but Windows... I just wanted to know how the NCPA processes the information before to send it to Nrdp server and how the Nrdp server processes it. The send_nrdp script is aws...
by sidserra
Tue Jul 05, 2016 1:36 pm
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

No, there isn't any non-printable character in ncpa.cfg file, what I posted here is the complete file with all characters.
by sidserra
Tue Jul 05, 2016 9:26 am
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

To complete the problems, below the ncpa_passive.log (Windows host side): ParseError: syntax error: line 1, column 0 2016-07-05 11:12:29,437:INFO:__init__:Establishing passive handler: Handler 2016-07-05 11:12:29,437:INFO:connectionpool:Starting new HTTP connection (1): xxx.xxx.xxx.xxx 2016-07-05 11...
by sidserra
Tue Jul 05, 2016 9:14 am
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

Hmm, I understand what you mean, I will comment the lines in the NCPA client (below my ncpa.cfg) as below: [listener] uid = nagios certificate = adhoc loglevel = info ip = 0.0.0.0 gid = nagcmd logfile = var/ncpa_listener.log port = 5693 pidfile = var/ncpa_listener.pid # Available versions: PROTOCOL ...
by sidserra
Mon Jul 04, 2016 9:41 am
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

I searched in all Nagios Server config files (.cfg) by "passive-checks" or "passive_checks" and I didn't find any reference about it. I changed my windows.cfg in this weekend: http://107.170.12.185/windows_conf_1.cfg When I restart Nagios service (service nagios restart), all wor...
by sidserra
Fri Jul 01, 2016 7:22 am
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

That's my windows.cfg in use in my Nagios: http://107.170.12.185/windows.cfg So, using this file, the Windows host "SectTest" appears in Nagios hosts list, but "Down": http://107.170.12.185/nagios1.jpg Now, the windows.cfg with template codes: http://107.170.12.185/windows_with_t...
by sidserra
Thu Jun 30, 2016 5:52 pm
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

That's my windows.cfg in Nagios server: ############################################################################### # WINDOWS.CFG - SAMPLE CONFIG FILE FOR MONITORING A WINDOWS MACHINE # # # NOTES: This config file assumes that you are using the sample configuration # files that get installed wit...
by sidserra
Wed Jun 29, 2016 2:39 pm
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

So, even if I put the original script (or templates) that you posted the error persists: Error: Template 'passive_service' specified in service definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 161) Error processing object config files! Oh, ...
by sidserra
Wed Jun 29, 2016 1:50 pm
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

I'm using the compiled version of Nagios Core (4.x.x), I mean, I installed it compiling it myself, so I am using the default scripts - it's working fine to me. I'd put the script above in the windows.cfg file: define service { name passive_service service_description Passive Service use generic-serv...
by sidserra
Wed Jun 29, 2016 10:06 am
Forum: Open Source Nagios Projects
Topic: Windows hosts passive checks with Nagios NRDP
Replies: 29
Views: 20686

Re: Windows hosts passive checks with Nagios NRDP

Well, where I put these codes? I must to create another file? I think that I must to put cpu/memory/swap usage in windows.cfg, right? If yes, and the rest of the code ? For passive monitoring to function, you have to create the service checks in Nagios before sending the checks from the Windows Host...