All Apps and Add-ons

NMON Performance Monitor for Unix and Linux Systems: Manually running nmon_helper.sh fails with message "terminated"

jmantor
Path Finder

Per the troubleshooting guide we tried this :

[splunk@blahblahblah]$ /opt/splunkforwarder/bin/splunk cmd /opt/splunkforwarder/etc/apps/TA-nmon/bin/nmon_helper.sh
Terminated

It didn't start the nmon process and doesn't seem to give an indication of why ?

0 Karma

guilmxm
Influencer

Hi!

This looks to me very strange, in the worst case and if things went bad you have much more output than that.

Question:

  • Have you extracted the TA content in a Windows workstation ? I would be tended to think that the content of scripts has been trans-coded during the transfer step (it is probably currently in Windows format instead of Unix, it should be UTF8)

To say this differently you probably have ^M symbols in the file.

  • Check the permission (is the file executable ?, by default it is maybe you lost this because of the way you extracted or transfered it to your deployment server)

I would strongly recommend transferring the tgz archive and then extract it on the deployment server if you are using one, or on the UF if you are not using deployment server

Guilhem,

0 Karma

jmantor
Path Finder

What should we look at to troubleshoot further?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...