Ad Widget

Collapse

Monitoring a python process with parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nocturn
    Junior Member
    • Nov 2008
    • 16

    #1

    Monitoring a python process with parameters

    I'm trying to monitor the mailman qrunner process. doing proc.num[qrunner] does not work, but using the full command syntax as the last parameter also fails because there are several parameters that are not on every process:

    Code:
    list     10119  0.0  0.7  59176  7768 ?        S    Feb21   0:06 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
    list     10120  0.0  0.1  55752  1780 ?        S    Feb21   0:05 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
    list     10121  0.0  0.1  55644  1788 ?        S    Feb21   0:04 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
    list     10122  0.0  0.6  56552  6752 ?        S    Feb21   0:07 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
    list     10123  0.0  0.2  54212  2584 ?        S    Feb21   0:04 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
    list     10124  0.0  0.6  60272  6328 ?        S    Feb21   0:06 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
    list     10125  0.0  0.5  57836  5448 ?        S    Feb21   0:05 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    list     10126  0.0  0.2  53900  2220 ?        S    Feb21   0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
    Is ther a way to monitor these?
  • tcirip
    Junior Member
    • Jan 2011
    • 1

    #2
    this might help

    I know this is old post, but I was looking at the same problem and this link helped me:


    Comment

    • nocturn
      Junior Member
      • Nov 2008
      • 16

      #3
      Originally posted by tcirip
      I know this is old post, but I was looking at the same problem and this link helped me:


      http://nocturn.vsbnet.be/content/mon...emons-zabbix-3
      Thanks, that's my blog post :-)

      I solved it after some trial and error.

      Comment

      Working...