Re: NCPA on Solaris Service Issue
Posted: Fri Jan 31, 2020 3:59 pm
Thanks for the link, that helps a bunch to see it in front of me
It looks like it is in-fact splitting by white-space, and reading that section it appears the time variable isn't being used. is being used to obtain the name of the service, and is being used to obtain the status. Time is being ignored already, so hopefully there isn't much issue just removing the time filter from the command.
I've submitted a PR: https://github.com/NagiosEnterprises/nc ... re:patch-1
If 'svcs -a -o STATE,FMRI' works on OpenSolaris, I think it should be fine. I also don't know a whole ton of Python, but, the changes seemed simple enough to make.
It looks like it is in-fact splitting by white-space, and reading that section it appears the time variable isn't being used.
Code: Select all
ls[2]Code: Select all
ls[0]I've submitted a PR: https://github.com/NagiosEnterprises/nc ... re:patch-1
If 'svcs -a -o STATE,FMRI' works on OpenSolaris, I think it should be fine. I also don't know a whole ton of Python, but, the changes seemed simple enough to make.