grabbing stats from remote boxes?

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

Moderators: Developers, Moderators

Post Reply
eger
Cacti User
Posts: 62
Joined: Tue Nov 18, 2003 1:20 am

grabbing stats from remote boxes?

Post by eger »

i was wondering if anyone knew of a way to graph unix stats like cpu, loged in users, and other stats from remote boxes or hosts other than the local box. i was thinking it would be possible to run some kind of snmp daemon on the remote boxes to grab stats. has anyone done anything like this?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I have my remote Windows computers VPN into the server and then cacti polls them.
bmeshier
Posts: 3
Joined: Wed Jun 09, 2004 3:14 pm
Location: Austin
Contact:

Use a SNMP script

Post by bmeshier »

I prefer to use SNMP to access remote boxes. Create a quick script which will fetch the data you're looking and feed it to SNMP. The appropriate line in snmpd.conf (if using UCD) would look something like this:

pass .1.3.6.1.4.1.2021.255 /var/scripts/snmp_gateway

That way you can safely retreive data from remote boxes wihout having to login. Hope this helps.
eger
Cacti User
Posts: 62
Joined: Tue Nov 18, 2003 1:20 am

Post by eger »

actually, i was able just to install the latest net-snmp and then add the host as a generic snmp enabled host. and viola. many of the Unix graph templates began to work. interesting.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest