- Joined
- Aug 24, 2020
- Messages
- 27
- Reaction score
- 13
Hello,
I need to monitor 3cx upgrade process with monitoring software, and I would like to know which log file will show the error message and what are the possible error messages that we could see in case of failed upgrade?
I found the following log file which gives us info about upgrade process
/var/lib/3cxpbx/Data/Logs/Update.log
But the problem with this file is that it gets created when upgrade is started and then gets deleted when upgrade is completed which isn't something I can monitor without setting monitoring to check every 30 seconds or so.
Basically I would like to "cat" certain log file and "grep" for error messages indicating an issue with upgrade that I could then feed into our monitoring system for alerting.
Email notifications are not an option, so please reply only if you are able to assist me with above request.
Regards
Goran
I need to monitor 3cx upgrade process with monitoring software, and I would like to know which log file will show the error message and what are the possible error messages that we could see in case of failed upgrade?
I found the following log file which gives us info about upgrade process
/var/lib/3cxpbx/Data/Logs/Update.log
But the problem with this file is that it gets created when upgrade is started and then gets deleted when upgrade is completed which isn't something I can monitor without setting monitoring to check every 30 seconds or so.
Basically I would like to "cat" certain log file and "grep" for error messages indicating an issue with upgrade that I could then feed into our monitoring system for alerting.
Email notifications are not an option, so please reply only if you are able to assist me with above request.
Regards
Goran