Lelik13a / Zabbix-PyOra-ActiveCheck

Scripts checks oracle database's parameters and send data to zabbix server.
35 stars 25 forks source link

Database showing down #13

Closed dmjaya closed 3 years ago

dmjaya commented 3 years ago

@Lelik13a I have installed Zabbix 5.4 and try to monitor oracle 12c DB but I didn't get any I'm not able to get the (# Perform checks by items list and print additional verbose information for every check). can I know what is the issue It showing the database down?

Thanks in advance.

Lelik13a commented 3 years ago

I use this checks with zabbix 5.2 - all ok. Test scripts and check rights.

dmjaya commented 3 years ago

Noted Could you please check my screen outputs below

image

image

image

@Lelik13a

Lelik13a commented 3 years ago

First two seems OK. Check directory content /usr/lib/zabbix/cache there should be a list of items to check.

dmjaya commented 3 years ago

Thanks for responding @Lelik13a yes there is a file but empty for your reference I attached some screenshots.

image

image

image

image

image

in the last image, some values ($) are not tallying with the MACRO order.

Please help me @Lelik13a

Thanks in advance

Lelik13a commented 3 years ago

check content file items-... and its rights. You run scripts by root - may be zabbix cant access to items list. Check run scripts with zabbix rights.

dmjaya commented 3 years ago

check content file items-... and its rights. what do you mean? which files I'll attach files in below

image

You run scripts by root - may be zabbix cant access the items list. (Yes I think this is the issue) how I can give access to the Zabbix user? Please help me I'm in big trouble @Lelik13a

Lelik13a commented 3 years ago

Check content files in directory /usr/lib/zabbix/cache Change owner and rights:

chown -R zabbix /usr/lib/zabbix/cache
chmod -R u+rwX,a+rX /usr/lib/zabbix/cache
dmjaya commented 3 years ago

Hi, Thanks for the support @Lelik13a I'm facing the issue. Thanks for your support and the comments.

Thanks in advance