ikzelf / zbxdb

Zabbix database monitoring, the easy and extendable way
GNU General Public License v3.0
94 stars 45 forks source link

error in site check scripts #5

Closed starlessboi closed 5 years ago

starlessboi commented 5 years ago

Hi when I run the zbxdb.py with config file, The output contains success and also failure outputs, the errors seems, to be for ebs and sap scripts, also my sap.cfg is empty I created the user just as you said in readme file the error is: 2019-01-15 18:26:49.248613 key=ebs_10m.ebs.concmgr ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.250093 key=ebs_10m.ebs.paul.truncatp ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.251452 key=ebs_60m.concmanager ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.252778 key=ebs_discovery_60m.ebs.concmanager ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.255618 key=ebs_startup.ebs.bagger ZBXDB-942: Db execution error: ORA-00942: table or view does not exist

ikzelf commented 5 years ago

That is because you do not have the applications sap and/or ebs in your database. Just remove/clear the site_checks parameter. The intention is to show that you could use very site/application specific checks without having to edit the included regular database checks.

On 15 Jan 2019, at 16:06, Mohammad notifications@github.com wrote:

Hi when I run the zbxdb.py with config file, The output contains success and also failure outputs, the errors seems, to be for ebs and sap scripts, also my sap.cfg is empty I created the user just as you said in readme file the error is: 2019-01-15 18:26:49.248613 key=ebs_10m.ebs.concmgr ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.250093 key=ebs_10m.ebs.paul.truncatp ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.251452 key=ebs_60m.concmanager ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.252778 key=ebs_discovery_60m.ebs.concmanager ZBXDB-942: Db execution error: ORA-00942: table or view does not exist 2019-01-15 18:26:49.255618 key=ebs_startup.ebs.bagger ZBXDB-942: Db execution error: ORA-00942: table or view does not exist

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ikzelf/zbxdb/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeUhjI6BTgs1tJYctLIbofwBtLvenL5ks5vDe5kgaJpZM4aBJaS.

ikzelf commented 5 years ago

I hope this solved your issue