ccztux/modpd

Reloading modpd is causing one invalid dataset

ccztux opened this issue · 0 comments

If the daemon will be reloaded, one dataset is getting malformed and will be detected as an invalid dataset:

2020-12-07 15:58:45 |  25971 |               signalHandler | Caught: 'SIGHUP', reloading...
2020-12-07 15:58:45 |  25971 |             buildJobCommand | Building job command...
2020-12-07 15:58:45 |  25971 |             buildJobCommand | We build the following job command: '/usr/bin/timeout --signal=TERM 8 /usr/bin/php /usr/local/modpd/libexec/send_nrdp.php --usestdin --delim="   " --token="[HIDDEN FOR SECURITY]" --url=https://nrdpuser:[HIDDEN FOR SECURITY]@10.0.0.74:443/nrdp'
2020-12-07 15:58:45 |  25971 |               signalHandler | Config reload was successful
2020-12-07 15:58:46 |  25971 |               dataProcessor | WARNING: Invalid dataset received! (monitoring_data_separator: ) 'host_name: lo, service_description: alhost_1445SSH_14450OUTPUT Line 1 !$%<>^/()=?[]{}*+,.-:&:_#!^@\nOUTPUT Line 2\n<a href="10.0.0.20">mylink</a>\nPêra & maçã\nOUTPUT Line 3\nOUTPUT Line 4\nOUTPUT Line 5\nOUTPUT Line 6\nOUTPUT Line 7\nOUTPUT Line 8\n  | , state_id: erfdata=1;2;3;4;, plugin_output:  junk: '