No processes running?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Colosus
Posts: 13
Joined: Wed May 16, 2007 4:58 am

No processes running?

Post by Colosus »

Forgive the newb question, but I'm new to SNMP. When trying to perform a query for the processes currently running, it always returns a 'No xxx process running' even though there are. Only 2 servers are having this issue. One is CentOS 4.1 and one is CentOS 4.2. Where is SNMP looking for processes running?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What script are you using to monitor processes?
Using SNMP, this should be hrSWRunTable
Reinhard
Colosus
Posts: 13
Joined: Wed May 16, 2007 4:58 am

Post by Colosus »

I forget the name of the script. It was one of the ones in the Best Post thread. It's pulling from the OID tree .1.3.6.1.4.1.2021.2.1 which displays what processes are being monitored by SNMP, but shows:

UCD-SNMP-MIB::prErrMessage.1 = STRING: No httpd process running.

Which is obviously incorrect.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

did you add this to snmpd.conf :

Code: Select all

proc httpd
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Colosus
Posts: 13
Joined: Wed May 16, 2007 4:58 am

Post by Colosus »

fmangeant wrote:Hi

did you add this to snmpd.conf :

Code: Select all

proc httpd
Yes. If I hadn't I would have gotten a different error as it wouldn't be able to find an index. In this case, it's able to pull indexes for all the processes I'm trying to monitor, but says that none of them are running.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests