grabbing stats from remote boxes?
Moderators: Developers, Moderators
grabbing stats from remote boxes?
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?
Use a SNMP script
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests