I have no idea about perl script, i would like to create a template with perl script running....simply a linux command , systemctl is-active [service name]....in order to return if a service is running or not ....
how can I do that..
thanks
Alan
I have no idea about perl script, i would like to create a template with perl script running....simply a linux command , systemctl is-active [service name]....in order to return if a service is running or not ....
how can I do that..
thanks
Alan
Have you read the SAM manual: https://documentation.solarwinds.com/en/success_center/sam/content/sam-linux-unix-script-monitor-sw3260.htm
It's a really good place to start
If you're still stuck, post the problems you are having and we'll see if we can help.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK© online community. More than 190,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.