Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SIEM Integration script error

I'm trying to get the SIEM Integration script running on an Ubuntu machine. It runs most of the time but occasionally fails with the following error.

Traceback (most recent call last):
File "/usr/lib/python3.6/configparser.py", line 1138, in _unify_values
sectiondict = self._sections[section]
KeyError: 'login'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/sbin/Sophos-Central-SIEM-Integration-1.1.0/siem.py", line 494, in <module>
main()
File "/usr/sbin/Sophos-Central-SIEM-Integration-1.1.0/siem.py", line 173, in main
token = config.Token(cfg.token_info)
File "/usr/sbin/Sophos-Central-SIEM-Integration-1.1.0/config.py", line 34, in __getattr__
return self.config.get('login', name)
File "/usr/lib/python3.6/configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "/usr/lib/python3.6/configparser.py", line 1141, in _unify_values
raise NoSectionError(section)
configparser.NoSectionError: No section: 'login'

When this happens, if I open the config.ini file in nano and save it, the script will run again.

I am also calling the script with a cron job and that fails every time with the same error.

Any help would be gratefully recieved!

Thanks



This thread was automatically locked due to age.