Search found 15 matches
- Thu Apr 25, 2013 8:51 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
You need to add a argument definition here: define command{ command_name check_event_HQ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 } Like so, be sure to add this via the commands section in the CCM not on the command line as it will not write.: define command{ command_name check_event...
- Wed Apr 24, 2013 8:14 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
generated (when the event was generated) This is the "hardest" in terms of using I guess. Dates are treated as number internally and thus works much like a number. The added value that numbers expose are the ability to translate numbers to dates. This happends by adding a suffix ti a numb...
- Wed Apr 24, 2013 4:00 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
generated (when the event was generated) This is the "hardest" in terms of using I guess. Dates are treated as number internally and thus works much like a number. The added value that numbers expose are the ability to translate numbers to dates. This happends by adding a suffix ti a numb...
- Tue Apr 23, 2013 8:08 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
This page will explain the warning and critical thresholds for this check and what is required to be met before they are triggered, hope it helps!: http://www.nsclient.org/nscp/wiki/CheckEventLog/check_eventlog Thanks, but I cant work it out. This is what I have now: ./check_nrpe -H -c CheckEventLo...
- Mon Apr 22, 2013 4:49 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
Hi I think I have solved the problem. I made this command: check_nrpe -H 192.168.2.128 -c CheckEventLog -a file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated lt -2d AND severity NOT IN ('success', 'informational')" "filter=source = 'XZServer.exe'" And it's working...
- Fri Apr 19, 2013 8:50 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
What if I make a fresh install of nsclient. What do I have to do? Enable allow_nasty_characters and allow_arguments. To I have to add anything in the modules folder? I bet it something easy I'm forgetting here... Thanks /Joakim This is what I have done. Reinstalled the latest NSClient Added the fol...
- Fri Apr 19, 2013 4:34 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
Great, let us know what happens! The underscores are definitely needed. No difference. /usr/local/nagios/libexec$ ./check_nrpe -H 192.168.26.12 -p 5666 -c CheckEventLog -a file=System file=application filter=in MaxWarn=1 MaxCrit=3 "filter+generated=\\<1h" "filter-eventType==warning&q...
- Thu Apr 18, 2013 1:27 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
What version of nsclient are you running? check the allow arguments option NSCP-0.4.1.90-x64 You probably need to set the following options in your nsclient ini file: allow_arguments = 1 allow_nasty_meta_chars = 1 okey, I will try that, I have already defined them, but without the underscores.
- Wed Apr 17, 2013 7:42 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
This happens when I run "nscp settings --generate --add-defaults --load-all" C:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all e rvice\NSClient++.cpp:347 Failed to register plugin: Could not load library: 126: Det gÕr inte att hitta den angivna modulen. : C:\Pr...
- Wed Apr 17, 2013 4:30 am
- Forum: Open Source Nagios Projects
- Topic: Monitor windows eventlogs
- Replies: 16
- Views: 12406
Re: Monitor windows eventlogs
This is what I have in my nsclient.log
Code: Select all
2013-04-17 11:11:54: e:..\..\..\..\trunk\modules\NRPEServer\handler_impl.cpp:15: Request contained arguments (not currently allowed, check the allow arguments option).