Logged in Users and Process

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

You probably want to be using:

Host MIB - Logged In Users
Host MIB - Processes,

instead of:

Unix - Logged In Users
Unix - Processes

The top two will pull the data through snmp, rather than trying to get the data from the local machine in a linux specific way.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
alexus
Posts: 40
Joined: Fri Feb 04, 2005 8:38 pm
Location: Brooklyn, New York
Contact:

Post by alexus »

that i configured already..

i meant if there are some other options i should use while compiling net-snmp?
[url]http://alexus.org/[/url] - [url]http://alexus.biz/[/url] - [url]http://alexus.fm/[/url] - [url]http://lexus.gs/[/url]
alexus
Posts: 40
Joined: Fri Feb 04, 2005 8:38 pm
Location: Brooklyn, New York
Contact:

Post by alexus »

for some reason ping latency doesn't work too

if i login to shell and run cron command in shell it gets ploted if it runs through crontab it doesn't.. is this a bug?
[url]http://alexus.org/[/url] - [url]http://alexus.biz/[/url] - [url]http://alexus.fm/[/url] - [url]http://lexus.gs/[/url]
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

Sorry, didn't read the whole thread as thoroughly as I should have.

so:

Code: Select all

snmpwalk -v 1 -c snmppublic localhost 1.3.6.1.2.1.25.1.6.0
doesn't work. What about swapping localhost with the box's real ip address?

snmpd on my boxes doesn't bind to the loopback address, might be the same for yours.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
alexus
Posts: 40
Joined: Fri Feb 04, 2005 8:38 pm
Location: Brooklyn, New York
Contact:

Post by alexus »

now it's working

alexus@d:/home/alexus> snmpwalk -v 1 -c public localhost 1.3.6.1.2.1.25.1.6.0 HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 156
alexus@d:/home/alexus>
[url]http://alexus.org/[/url] - [url]http://alexus.biz/[/url] - [url]http://alexus.fm/[/url] - [url]http://lexus.gs/[/url]
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests