Ad Widget

Collapse

Problem to monitoring application in linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joe716
    Junior Member
    • May 2015
    • 7

    #1

    Problem to monitoring application in linux

    Hello folks

    I can not monitor an application on Linux, please could you help me?

    I would like zabbix warn when closed application

    Item:

    Key: proc.num[,,,ReckoningServer.exe]

    Trigger:

    {Template Hexroc.num[,,,ReckoningServer.exe].last()}#1

    Linux app:

    [root@host zabbix]# ps -aux | grep mono
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
    root 13796 0.3 3.8 4751612 311756 ? Ssl May27 9:19 /usr/local/mono/bin/mono --debug /home/reckoning/Server/ReckoningServer.exe /home/reckoning/Server/ServerConfig.xml

    root 61024 0.0 0.0 103252 844 pts/0 S+ 22:08 0:00 grep mono
    [root@host zabbix]#

    Thanks
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    in this case you must monitor mono.

    ReckoningServer.exe is only a parameter
    Debian-User

    Sorry for my bad english

    Comment

    • Joe716
      Junior Member
      • May 2015
      • 7

      #3
      Originally posted by Colttt
      in this case you must monitor mono.

      ReckoningServer.exe is only a parameter
      Thank you very much Colttt for answering.

      I tried to monitor the mono, but the dashboard still alarming as if application was closed, but it is running.

      Item:

      proc.num[mono]

      Trigger:

      {Template Hexroc.num[mono].last()}#1

      In Linux:
      [root@DC Server]# zabbix_agentd -t "proc.num[mono]"
      proc.num[mono] [u|1]

      57191 zabbix 20 0 77728 1832 1404 S 0.3 0.0 1:29.93 zabbix_agentd
      64181 root 20 0 4649m 275m 18m S 0.3 3.5 9:12.16 mono

      Comment

      • Colttt
        Senior Member
        Zabbix Certified Specialist
        • Mar 2009
        • 878

        #4
        please try:
        Code:
        {Template Hexroc.num[mono].last()}=0
        can you please use the code-tag, its easier to read
        Debian-User

        Sorry for my bad english

        Comment

        Working...