Ad Widget

Collapse

How to monitor Oracle listener

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luissuez
    Junior Member
    • Sep 2018
    • 11

    #1

    How to monitor Oracle listener

    Hello people !!
    I need to monitor the listener process with linux server and zabbix version 2.2
    I have this trigger set:


    Code:
    {orax56: system.run ["ps -ef | grep tnslsnr | grep -iv grep | wc -l"].last (0)} < 1
    So if this linux command give any value < 1 is that listener is down.
    But I have a syntax error... Some one can see what error is?

    I try this command from zabbix server:

    Code:
     zabbix_get -s 127.0.0.1 -k system.run["echo 123"]
    ZBX_NOTSUPPORTED: Remote commands are not enabled.
    SO, does it means that I need to enableRemoteCommand from zabbix Server?
    Many thanks
    Last edited by luissuez; 21-04-2020, 16:41.
  • luissuez
    Junior Member
    • Sep 2018
    • 11

    #2
    Hello

    ok, I think I got it, this trigger code works, I share it with you if someone need it, or can improve this method.
    Code:
    {[URL="http://10.3.1.203/zabbix/items.php?form=update&itemid=74821&sid=27f7327c66ff3eca"]orax56:proc.num[tnslsnr,oracle][/URL].[B]last([/B][B])[/B]}=0

    Comment

    Working...