LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2010, 03:20 PM   #1
Jim4522
LQ Newbie
 
Registered: Apr 2010
Location: Salisbury Vermont
Posts: 17

Rep: Reputation: 0
I would like to collect the count of the reboots that occur of my Linux servers


I have a pool of approximately 1,000 Linux servers and I would like to get a total count of reboots that occurred on those servers each month. I would like to collect this reboot count at the end of each month. Can anyone tell me what the best way to get this count. Jim4522
 
Old 04-21-2010, 03:55 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by Jim4522 View Post
I have a pool of approximately 1,000 Linux servers and I would like to get a total count of reboots that occurred on those servers each month. I would like to collect this reboot count at the end of each month. Can anyone tell me what the best way to get this count. Jim4522
Kinda like asking "how high is up?" Would depend greatly on what you've got in place now.

Do you have an enterprise SNMP monitor (like Smarts/Openview/etc.?) that such data is aggregated to? Central syslog server?

If it was me, I would have one little MySQL server sitting somewhere (probably on said central syslog server, my workstation, whatever), and put a script onto the various boxes I wanted to monitor. That script would run at system startup (and shutdown, ideally), to do nothing but shove a record into the SQL database. A simple query with pretty much any tool (Excel, OpenOffice, etc.), could pull out reports, as could a command-line query.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DBD::mysql::st execute failed: Column count doesn't match value count at row 1 shifter Programming 2 02-24-2010 08:42 PM
Make a program can collect linux command output regularly and send to a tftp server fragon Programming 2 04-07-2008 05:49 PM
how do i collect output of linux netowk ipes sunlinux Linux - Networking 1 12-02-2006 08:32 AM
How can I collect Systeminformation in RedHat Linux ? Gawan Linux - Software 2 04-13-2006 03:30 AM
Can you collect virus logs from Windows machines to a Linux box jongun78 Linux - General 1 11-14-2003 05:33 PM


All times are GMT -5. The time now is 08:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration