zm event end auto delete
Posted: Tue Mar 14, 2023 10:42 am
HI,
I've been rebuilding my ZM system onto new hardware (i7 8700, 16GB ram and 1060ti GPU for cuda) and it's all working nicely with ZMES, pushover, ML etc.
The only thing which doesn't seem to be working is the zm end event auto delete which resides in /usr/local/bin and is defined in zmeventnotification.ini.
Events are stored to an extra 480GB hard drive.
Not sure how to go about debugging it and would appreciate any help on how to set up logging for it.
In the zmeventnotification.log I see no mention of autodelete when an event is not triggering a push.
I suspect in the script I may have something wrong in the api_options section where xxxxx is my FQDN hosted by duckdns, maybe I could just use localhost ?
api_options = {
'apiurl': 'https://xxxxx/zm/api/',
'portalurl': 'https://xxxxx/zm/',
'user': 'zmes',
'password': 'password',
'logger': None,
'disable_ssl_cert_check': True
}
I'm using the 'latest' version of the script which worked fine on the old machine, so I guessing I've missed something along the way.
Must say ZM has come along realy well over the years and just keeps getting better and better.
Regards Tim
I've been rebuilding my ZM system onto new hardware (i7 8700, 16GB ram and 1060ti GPU for cuda) and it's all working nicely with ZMES, pushover, ML etc.
The only thing which doesn't seem to be working is the zm end event auto delete which resides in /usr/local/bin and is defined in zmeventnotification.ini.
Events are stored to an extra 480GB hard drive.
Not sure how to go about debugging it and would appreciate any help on how to set up logging for it.
In the zmeventnotification.log I see no mention of autodelete when an event is not triggering a push.
I suspect in the script I may have something wrong in the api_options section where xxxxx is my FQDN hosted by duckdns, maybe I could just use localhost ?
api_options = {
'apiurl': 'https://xxxxx/zm/api/',
'portalurl': 'https://xxxxx/zm/',
'user': 'zmes',
'password': 'password',
'logger': None,
'disable_ssl_cert_check': True
}
I'm using the 'latest' version of the script which worked fine on the old machine, so I guessing I've missed something along the way.
Must say ZM has come along realy well over the years and just keeps getting better and better.
Regards Tim