What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Failed to monitoring processes in Linux using SNMP

Votes:

0

Currently, i added three process in the snmpd.conf in my Linux server: proc <httpd2-prefork> proc <java> proc <acronisagent>

For the httpd, there is number of processes are running: ps -e |grep httpd 1663 ? 00:00:07 httpd2-prefork 5445 ? 00:00:06 httpd2-prefork 5446 ? 00:00:06 httpd2-prefork 5447 ? 00:00:06 httpd2-prefork 5448 ? 00:00:06 httpd2-prefork 5449 ? 00:00:06 httpd2-prefork 5549 ? 00:00:06 httpd2-prefork 5557 ? 00:00:06 httpd2-prefork 5558 ? 00:00:06 httpd2-prefork 5606 ? 00:00:06 httpd2-prefork 5694 ? 00:00:06 httpd2-prefork

I have add a new SNMP Library sensor and then choose Basic Linux Library. Three of the processes could be found: Library-OIDs MIB Module Category Name Basic Linux Library (UCD-SNMP-MIB) Processes: 1 Processes Index Basic Linux Library (UCD-SNMP-MIB) Processes: 2 Processes Index Basic Linux Library (UCD-SNMP-MIB) Processes: 3 Processes Index Basic Linux Library (UCD-SNMP-MIB) Processes: 1 Processes Count Basic Linux Library (UCD-SNMP-MIB) Processes: 2 Processes Count Basic Linux Library (UCD-SNMP-MIB) Processes: 3 Processes Count Basic Linux Library (UCD-SNMP-MIB) Processes: 1 Processes Error Flag Basic Linux Library (UCD-SNMP-MIB) Processes: 2 Processes Error Flag Basic Linux Library (UCD-SNMP-MIB) Processes: 3 Processes Error Flag Basic Linux Library (UCD-SNMP-MIB) Memory Memory Total Swap

But finally, no process is counted in the "Processes Count": http://i.imgur.com/xrqIMsD.png

Please help.... thanks.

linux process-monitoring snmp

Created on Mar 3, 2015 4:39:29 AM



Best Answer

Accepted Answer

Votes:

0

Dear Les Kwan

Please remove the <> brackets in this part:

proc httpd2-prefork
proc java
proc acronisagent

Created on Mar 5, 2015 2:19:55 PM by  Arne Seifert [Paessler Support]



2 Replies

Votes:

0

Better Format here...

Currently, i added three process in the snmpd.conf in my Linux server:

proc <httpd2-prefork>
proc <java>
proc <acronisagent>

For the httpd, there is number of processes are running:
ps -e |grep httpd
1663 ? 00:00:07 httpd2-prefork
5445 ? 00:00:06 httpd2-prefork
5446 ? 00:00:06 httpd2-prefork
5447 ? 00:00:06 httpd2-prefork
5448 ? 00:00:06 httpd2-prefork
5449 ? 00:00:06 httpd2-prefork
5549 ? 00:00:06 httpd2-prefork
5557 ? 00:00:06 httpd2-prefork
5558 ? 00:00:06 httpd2-prefork
5606 ? 00:00:06 httpd2-prefork
5694 ? 00:00:06 httpd2-prefork

I have add a new SNMP Library sensor and then choose Basic Linux Library. Three of the processes could be found:

Library-OIDs MIB Module	Category	Name Basic Linux Library (UCD-SNMP-MIB)	Processes: 1	Processes Index Basic Linux Library (UCD-SNMP-MIB)
Processes: 2	Processes Index Basic Linux Library (UCD-SNMP-MIB)
Processes: 3	Processes Index Basic Linux Library (UCD-SNMP-MIB)
Processes: 1	Processes Count Basic Linux Library (UCD-SNMP-MIB)
Processes: 2	Processes Count Basic Linux Library (UCD-SNMP-MIB)
Processes: 3	Processes Count Basic Linux Library (UCD-SNMP-MIB)
Processes: 1 Processes Error Flag Basic Linux Library (UCD-SNMP-MIB)
Processes: 2	Processes Error Flag Basic Linux Library (UCD-SNMP-MIB)
Processes: 3	Processes Error Flag Basic Linux Library (UCD-SNMP-MIB)
Memory	Memory Total Swap

But finally, no process is counted in the "Processes Count": http://i.imgur.com/xrqIMsD.png

Please help.... thanks.

Created on Mar 4, 2015 2:40:58 AM

Last change on Mar 5, 2015 2:14:54 PM by  Arne Seifert [Paessler Support]



Accepted Answer

Votes:

0

Dear Les Kwan

Please remove the <> brackets in this part:

proc httpd2-prefork
proc java
proc acronisagent

Created on Mar 5, 2015 2:19:55 PM by  Arne Seifert [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.