NSClient++ - 0.4.3.131 real time event log filter syntax

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

NSClient++ - 0.4.3.131 real time event log filter syntax

Post by michaelli »

Hi all,
Anyone have information for how to write real time event log filter syntax or example for NSClient++ - 0.4.3.131?

The following example are confirmed not work in Nsclient 0.4.3.131
filter= level = (warning) AND ID NOT IN (1,2,3,100)
filter= level = (warning,error) AND ID NOT IN (1,3,30,1000)
filter= level = (warning)
filter= level = (error)
fitler= level = "warning"
fitler= level = "error"
fitler= level = 'warning'
fitler= level = 'error'
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NSClient++ - 0.4.3.131 real time event log filter syntax

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: NSClient++ - 0.4.3.131 real time event log filter syntax

Post by michaelli »

Hi Box293,

Actually I need the syntax for create the filter messages. Below is the valid syntax which I use "try and error" method to find it out.

This filter can filter out "error" and "warning" with ignore ID for nsclient ver 0.4.3.131
filter=level IN (1,2) AND (id NOT IN (2,3))

Remark
level 1 =error
level 2 =warning

Thank you for helping me solving many nagios problems.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: NSClient++ - 0.4.3.131 real time event log filter syntax

Post by jdalrymple »

Sounds like you have this issue sorted out michaelli?

Or should I leave the thread unlocked for further correspondence? If we should leave it open can you clarify any further questions you might have with this?
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: NSClient++ - 0.4.3.131 real time event log filter syntax

Post by michaelli »

Hi jdalrymple,
pls help to closed this case
Locked