Is it possible to provide an export of the CAM model? What version are you running?
I deleted that one, and am still busy cleaning up the mess it left. I can recreate it easily, I'll do it tomorrow when my discovery boxes are in good shape again.
Hi Andrew, here is the CAM export of that BAI model. By simply removing the single quote character in the functional component name ("IBM Nigel's Monitor SI" -> "IBM Nigels Monitor SI") and the software instance type ("IBM Nigel's Monitor" -> "IBM Nigels Monitor"), it works without any problems. The custom pattern generating the software instance with type = "IBM Nigel's Monitor" by the way did not show any misbehaviour in the pattern performance list.
Group_NMON2_export.cam 1.2 K
So it is just a simple functional component with a single SI checking the type.
Indeed. So I was wondering if use a single quote in a type is a known issue in regards to pattern performance. At the moment it's just my own experience at my site, but it happened on every scanner running that pattern.
It is not a known issue - it seem fine for the things I tried.
What version are you using? What values did the performance page show for modelling and inferencing time? Did you have many of the SI's to trigger on?
That would seem to indicate that it is spending its time updating inferencing. The type would not make any difference for that. It is completely agnostic of that information - it just managed nodes and the names of attributes (not their values).
The SI you are triggering off, there was no difference in count, relationship to other thing?
Interesting. Really I only removed the single quote in "Nigel's" in the type.
I have no longer the values of Dec. 3rd, a look at today's numbers for the SI pattern show the following (if I remember correctly it was similar with the quote in it):
The SI pattern looks like
// The trigger is on the NMON agent, the server part is only a web interface.
// To get the server, we look for the zkb-nmon_srv package below.
on process := DiscoveredProcess where cmd matches unix_cmd "nmon"
and args matches regex '\/nmon\_agt\/';
// Check for server vs. agent.
package_regex := [regex "^zkb-nmon_srv$"];
packages := model.findPackages(host, package_regex);
if not packages then
log.debug ("No NMON server found on %host.name%, only NMON agent - stop pattern run.");