Results 1 to 3 of 3
-
08-31-2012, 12:55 AM #1Newcomer
- Join Date
- Feb 2012
- Posts
- 1
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Want a command to find out all the nodes that have been failing or missing backups
Want a command to find out all the nodes that have been failing or missing backups that have been failing or missing backups CONTINUOSULY for past 7 days.
Not all nodes failed or missed. but nodees that have been CONTINUOSULY missing and failing for past 7 days.
Thanks in Advance
Rohit
-
08-31-2012, 02:52 AM #2Senior Member
- Join Date
- Apr 2007
- Location
- Oslo, Norway
- Posts
- 248
- Thanks
- 2
- Thanked 17 Times in 17 Posts
Hi,
This a sample, you can add a date statement too. Make sure your events table has data retention for 7 days.
Code:select NODE_NAME,count(STATUS) from events where status<>'Completed' group by node_name having count(STATUS)>5
Last edited by Trident; 08-31-2012 at 02:52 AM. Reason: spelling bug
-= Trident =-
-
08-31-2012, 12:18 PM #3Member
- Join Date
- Apr 2008
- Location
- St. Louis, Missouri
- Posts
- 151
- Thanks
- 0
- Thanked 3 Times in 3 Posts
Here's a query I use to see if any nodes have not backed up anything in the previous 24 hours:
select nodes.node_name as "NO BACKUP" from nodes where not exists (select distinct entity from summary where (end_time
between current_timestamp - 24 hours and current_timestamp) and (entity=nodes.node_name))Tom Kyle
http://lanigera.com/wordpress
Similar Threads
-
How to find missing tapes
By rstockon in forum Tape / Media LibraryReplies: 10Last Post: 01-11-2012, 11:04 AM -
SQL command to find out failed databases during TDP SQL backups.
By Petur in forum ScriptingReplies: 1Last Post: 05-31-2011, 11:47 AM -
Find Nodes that are NOT scheduled
By John22439 in forum ScriptingReplies: 3Last Post: 01-31-2008, 10:15 AM -
Client nodes are missing under ISC
By avinim8 in forum ISC -Integrated Solution ConsoleReplies: 0Last Post: 06-07-2007, 12:59 PM -
command to find retention period of nodes
By adsm04 in forum Administrative ClientReplies: 2Last Post: 03-06-2007, 01:54 PM


Reply With Quote
