LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2011, 11:26 AM   #1
genderbender
Member
 
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Rep: Reputation: 31
Creating a SNMP mib


I have several xen servers which I run scripts on to assess their health (e.g disk space, running VM's, offline VM's, memory, cpu, network usage). I'd really like it if I could pull the same data via snmp. How easy is this process? Has anyone any experience with it? Ultimately I'd like to have a single box (nagios) which polls each of my servers via snmpget and then displays the info.
 
Old 03-18-2011, 11:41 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
Just install net-snmp. There are standard MIBs which contain these values which net-snmp supports, iirc.
 
Old 03-18-2011, 01:57 PM   #3
genderbender
Member
 
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Original Poster
Rep: Reputation: 31
Yeah, none of them have the data I need, specifically they're data for dom0 and not the sum of the servers contained. Even tools like top only have data specific for dom0 and not other machines, which is all that matters to me. It's just a couple of one line commands within xen that need to run.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MIB and SNMP allomeen Programming 2 01-17-2006 10:23 AM
Retrieving SNMP MIB basu_arani Programming 0 02-09-2005 06:21 AM
snmp mib ody1 Programming 0 01-09-2005 09:31 AM
SNMP MIB browser glock19 Linux - Networking 1 03-28-2003 03:26 AM
SNMP MIB question arffer Linux - Networking 2 10-30-2000 04:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration