Ad Widget

Collapse

Process Monitoring in Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeep_hello
    Junior Member
    • Sep 2015
    • 3

    #1

    Process Monitoring in Linux

    I am running my custom script in Linux server and want to monitor through Zabbix but somehow things are not working.

    Process is

    root 31061 0.0 0.0 106096 1152 ? Ss Sep27 0:00 /bin/sh -c timeout 24h sh -x /scripts/result.sh

    now if i am checking the status on zabbix server then value is 0.

    zabbix_get -s 10.0.0.3 -k 'proc.num[,root,,/scripts/result.sh ]'

    tried multiple format in proc.num but things are not working. Please suggest if any modifications are required.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please try execute command below.

    $ zabbix_get -s 10.0.0.3 -k proc.num[,root,,/scripts/result.sh]

    Comment

    • sandeep_hello
      Junior Member
      • Sep 2015
      • 3

      #3
      no it is not working.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        How do you not work?
        How do you run the command?

        Comment

        • sandeep_hello
          Junior Member
          • Sep 2015
          • 3

          #5
          Dont know what was happening? Now Same syntax is working. I am able to set-up process monitoring for Linux.

          Comment

          Working...