guilhemmarchand / nmon-for-splunk

NMON For Splunk App - convert, index and exploit nmon metrics data for AIX, Solaris and Linux Systems
23 stars 13 forks source link

Setup instructions - question about cron #108

Closed nickjohnsonm closed 6 years ago

nickjohnsonm commented 6 years ago

Used the instructions and found the cron wasn't kicking off, looks like it's from this:

chown nmon:nmon /etc/cron.d/nmon-logger

By default the cron.d files need to be owned by root. It will still run as the nmon user.

guilhemmarchand commented 6 years ago

Hello!

We are talking about the nmon-logger right. Could you precise the flavor ? (rsyslog / syslog-ng / HEC) and the guest Operating System ?

Many thanks,

Guilhem

nickjohnsonm commented 6 years ago

This is the info:

rsyslogd 8.26.0, compiled with: PLATFORM: x86_64-redhat-linux-gnu

To be more specific, used the instructions to add some steps to a chef recipe, and found that the nmon-logger cron wasn't starting. Found that the /etc/cron.d/nmon-logger file was owned by nmon:nmon, once this was changed to root:root then the nmon-logger process was started.

Thanks

guilhemmarchand commented 6 years ago

Hello @nickjohnsonm

Sorry for the long delay to fix it as I've been very busy recently, and again thank you very much for the notice!

You were totally correct, the build spec files for deb and rpm were ok but not the manual instructions. All fixed now.

Kind regards,

Guilhem