Re: [Shinken-devel] (no subject)
Status: Beta
Brought to you by:
naparuba
From: nap <nap...@gm...> - 2011-02-09 11:43:18
|
On Wed, Feb 9, 2011 at 12:17 PM, Ronny Lindner < net...@us...> wrote: > Hello again, > Hi, > > after testing with a larger configuration from nagios3, I noticed > something that could be a bug: > > define service { > hostgroup_name nearly_all_servers,!special_servers > host_name !one_server,!another_server > [...] > } > > Using this service I want it to work in the following way: > nearly_all_servers AND NOT special_servers AND NOT one_server AND NOT > another_server > > I didn't have time to fully debug it but shinken seems to do it this way: > nearly_all_servers AND NOT special_servers OR NOT one_server OR NOT > another_server > > in the end the service is executed for everything except "one_server" or > "another_server" - which is different from the Nagios3 behavior. > Hum yes, sounds like a bug indeed. I'll wrote a test for this. > > > Additionally I noticed that Nagios3 supports "parents ," whereas shinken > only supports "parents " when overwriting the parents option set by a > template with an empty value. The comma was needed in Nagios2 and worked > in Nagios3. > So in Nagios the ',' for parents is like the + for other parameters when it came from the templates? The only documented thing is '+', even for parents, but if the ',' is managed, we can try to add it. Jean > > Bye, Ronny > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Shinken-devel mailing list > Shi...@li... > https://lists.sourceforge.net/lists/listinfo/shinken-devel > |