Go to All Forums

rsyslogd installation script version parsing issue

I'm not sure if there is a different platform for bug reports, I'll post this here for now.

When installing a Linux Server monitor on a CentOS 8 server, I got this error:

Site24x7 monitoring agent uninstalled successfully

* Installing Site24x7 Monitoring Agent *

Hardware platform : 64-bit
/opt/site24x7/monagent/bin/monagentsyslog: line 116: ((: n<2019.11): syntax error: invalid arithmetic operator (error token is ".11)")
Site24x7 monitoring agent watchdog service started successfully (process id : 1591471)
Site24x7 monitoring agent service started successfully (process id : 1591501)

It seems it cannot parse this version output:

# rsyslogd -v | grep "rsyslogd "
rsyslogd 8.1911.0-3.el8 (aka 2019.11) compiled with:

This is the output on a CentOS 7 machine, which can be parsed correctly:

# rsyslogd -v | grep "rsyslogd "
rsyslogd 8.24.0-41.el7_7.2, compiled with:



 

Like (2) Reply
Replies (1)

Hi roberto,

It's a harmless exception while parsing the rsyslogd version command. It won't affect any data collection modules. We will update a fix for this in our coming agent release.

 

Regards,

Sriram

Like (0) Reply

Was this post helpful?