I am tryint to configure a relevance for a Fixlet which I want to start automatically the ITM agent for SO.
In this case I’m trying to make a relevance similar to that:
RELEVANCE EXPRESSION:
(name of operating system contains “Linux”) and (exists process “klzagent”) and (exists running services “klzagent” = “False”)
But it seems "exists running services “klzagent” for Linux is not working fine.
I am very new in Relevance language and I woule like to know if someone can help me to Perform adequately relevance
The “services” handler is for Windows only. By the looks of it your making sure the OS is Linux and the “klzagent” process isn’t running. I would do something like this:
(name of operating system contains "Linux") and (not exists process "klzagent")
You also want to be aware that relevance is case sensitive so make sure the name of the process is actually cased that way.
@bfgarzon For Linux, the way to check for an installed package is by looking for the specific package in the RPM.
I highly recommend you bookmark the Inspector reference here. It is really informative on which inspectors work for which OS, what they are looking for, and syntax on how they’re used. You can also put the inspector keyword into the QnA session by itself and it can direct you on how it’s used.
To be totally correct, at the moment the “service” operator on *NIX only knows about the BigFix services and on some platforms that actually have services we do plan on extending this.