PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

e.soden_181905 avatar image
e.soden_181905 asked ·

Agent execute iostat command with wrong arguments

Hi,


I have just install DataStax in Suse Linux Enterprise server 12. All is running fine but I see that in the agent log, I have the following error

ERROR [clojure-agent-send-off-pool-1] 2019-11-29 17:09:40,662 iostat failed on execute; returning default value - Process failed: iostat -x -s -d -m 60 2 Exit val: 1 Output: Usage: iostat [ options ] [ [ ] ] Options are: [ -c ] [ -d ] [ -h ] [ -k | -m ] [ -N ] [ -t ] [ -V ] [ -x ] [ -y ] [ -z ] [ -j { ID | LABEL | PATH | UUID | ... } ] [ [ -T ] -g ] [ -p [ [,...] | ALL ] ] [ [...] | ALL ]


How to correct this? in fact the right command should be iostat -x -d -m 60 2


Regards

Emmanuel

datastax agent
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@e.soden_181905 there was an issue with the way agents were parsing iostat outputs on Linux machines with a newer version of the SYSSTAT package where the -s flag was added. The metrics still get collected and it is safe to ignore the errors. As a workaround, you can upgrade to a newer version of SYSSTAT to stop the errors from being reported in the logs.

The issue will be fixed in the next release of OpsCenter (internal ID OPSC-16181). Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

This answer comes quite high in search engines when looking for iostat and agent so just adding for visibility that this was fixed in OpsCenter 6.7.7 as shown here

https://docs.datastax.com/en/opscenter/6.7/opsc/release_notes/opscReleaseNotes_g.html#opscReleaseNotes677__opsc677Changes

> Fixed errors showing up in the agent.log when iostat does not support -s option. (OPSC-16181)

1 Like 1 · ·