Reply to this topicStart new topic
> Currently Being Monitored?
tkrn
post Mar 31 2012, 04:58 PM
Post #1


Member
*

Group: Members
Posts: 12
Joined: 25-February 11
Member No.: 1,284



Is there a way to run a report or something that will tell me which systems are not "Currently being monitored?" We've had some issues with people forgetting to re-enable monitoring which puts us into a bind which is not good. Even if this is not do-able through uptime is there a SQL statement that we can run to see all the hosts that are being monitored or not?

Thanks!
Go to the top of the page
 
+Quote Post
Chris Kasza
post Apr 3 2012, 05:36 AM
Post #2


Guru
****

Group: Members
Posts: 233
Joined: 1-September 06
From: Vancouver
Member No.: 21



There currently is not a report in up.time to list which systems are unmonitored but you can use the following query in the up.time data store and I'll file a feature request to have such visibility considered for a future release.

select name, display_name from entity where monitored=0;

You can access the MySQL client to run the above query with the following command:
<uptime_dir>/mysql/bin/mysql -uuptime -puptime -P3308 --protocol=tcp uptime

Regards,
Chris
Go to the top of the page
 
+Quote Post
TylerTech
post May 29 2012, 12:45 PM
Post #3


Member
*

Group: Members
Posts: 4
Joined: 11-July 11
From: Cleveland, TN
Member No.: 1,381



QUOTE (Chris Kasza @ Apr 3 2012, 06:36 AM) *
There currently is not a report in up.time to list which systems are unmonitored but you can use the following query in the up.time data store and I'll file a feature request to have such visibility considered for a future release.

select name, display_name from entity where monitored=0;

You can access the MySQL client to run the above query with the following command:
<uptime_dir>/mysql/bin/mysql -uuptime -puptime -P3308 --protocol=tcp uptime

Regards,
Chris



Hey Chris,
When I run that command to access the mySQL database I get this:

D:\uptime\mysql\bin>mysql -uuptime -puptime -p3308 --protocol=tcp uptime
ERROR 1045 (28000): Access denied for user 'uptime'@'localhost' (using password: YES)

Any idea what i'm doing wrong? I'm running the default mysql on the same server as the uptime console, running on Server 2003 R2 Enterprise with SP2.
Go to the top of the page
 
+Quote Post
Chris Kasza
post May 29 2012, 02:56 PM
Post #4


Guru
****

Group: Members
Posts: 233
Joined: 1-September 06
From: Vancouver
Member No.: 21



Hi Tyler,

The port option character needs to be an upper case 'P'; your command lists a lower case p. Please try that and let us know if that works.

Cheers,
Chris
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 02:53 AM