System configuration of solaris machine via relevance

(imported topic written by Darknight)

Hi,

I am trying to find system information of solaris machine via relevance…is it possible?

I have alternative to pass the unix command using action script and then read the information via releavce , but this needs to be done on many servers and will not be good solution. Here is the command that i am using for extracting the system configuration information:

bash-3.00$ /usr/sbin/prtdiag | awk ‘/^System Configuration/’

System Configuration:
Sun Microsystems sun4v Sun Fire T200

Can some one please let me know whether i can retrive the highlighted information via relevance on solaris machine…

(imported comment written by BrianPGreen)

If the only way to get that information is by running /usr/sbin/prtdiag, then you can retrieve that information by creating an action that periodically runs and dumps the result of that command into a file, and then reading the file with a relevance expression.

If that information also appears in a file somewhere, you can read that file with a relevance expression. Does this help?

(imported comment written by Darknight)

BrianPGreen … thanks for the reply…but i am using the same method to extract this particular information. I want to know whether the same can be retrived purely using relevance only, this will avoid running of the task each time on many servers … thanks

(imported comment written by jgstew)

What does that information represent? I don’t know what inspectors to recommend as I don’t know what that information means.