Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Community Reputation

0 Neutral

My Information

  • Agent Count
    Less than 100

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. We use Grafana now, but our instance is self hosted located locally in our office. as stated before this plugin is retired and the smashing plugin is not really used anymore. hopefully someone can get back to you with a solution for this. i assume you’ve checked how people are using grafana with gathering data from a remote location?
  2. Hi All, Just wondering if any of the UK / Europe guys here @ LTG have done anything with Labtech / Automate for their GDPR for customers or themselves? Looking for any input
  3. Very sorry about that! This is the below code that isn't showing for some reason sudo cp dashboards/sampletv.erb dashboards/home.erb sudo nano dashboards/home.erb Find the following code: <li data-row="1" data-col="1" data-sizex="1" data-sizey="1"> <div data-id="synergy" data-view="Meter" data-moreinfo="In sync with my neighbour!" data-title="Synergy" data-min="0" data-max="100"></div> </li> and replace it with this: <li data-row="1" data-col="1" data-sizex="1" data-sizey="1"> <div data-id="agentcount" data-view="Hotness" data-title="Total Agents Deployed" data-cool="20" data-warm="1000"></div> </li>
  4. Hi G-Man, What exactly were you attempting to change in the *.erb file?
  5. Hey, I see that there's a enhancement request for this: https://product.connectwise.com/forums/5-automate-enhancements/topics/10187-allow-searches-scripts-or-groups-to-only-be-seen-based-on-user-class-even-at-top-level-if-you-to/
  6. My previous instant got a little broken when we upgraded to LT11, so I'm happy to give it a go for you
  7. Glad you managed to resolve your issue, yes, if there are previous logs in IML or elsewhere, it can send an error over. The OID values were gathered by using a MIB browser & searching the MIB file "cpqhlth.mib" (downloaded from HP website), if you want to look for any other values.
  8. We have been waiting a long time as well. At least it gives them time to sort out any issues & performance related problems. You can check their release schedule here (albeit, it does not give you any dates). https://cp.labtechsoftware.com/#/labtech-11-release-schedule
  9. As discussed with Martyn, I have revised this guide to use a later version of Ruby & in general, an updated version for reference. http://www.labtechgeek.com/forum/viewtopic.php?f=19&t=3173
  10. Hey everyone! Big thanks to Martyn for allowing me to update his guide. I've recently started a project using dashing & it's worked well so far. So I thought I'd update his guide as it's been a bit fiddly recently & I've had to go through a lot of troubleshooting, so I've placed this guide here for anyone who wants to get started with dashing & are fed up with the standard LT HUD's. I was advised there were resource issues with the dashing plugin for Labtech, so I've used this method intead & it works great. Here's one of our dashboards for example: _______________________________________________________ Pre-Requisites This guide requires a PLAIN BUILD of Ubuntu 14.04 LTS 64 bit Server. The only software dependency you need on it is openssh so that you can 'Putty' in to it! It might also be a good idea, before the dashing installation to update/upgrade all current components of your Ubuntu VM. _______________________________________________________ INSTALLATION **Considerations: - Due to the way in which the dashboard works (mainly 'send event' based), it will NOT WORK in Internet Explorer. (So, use a REAL browser like Chrome or Firefox!) - All development takes place on Ubuntu 14.04 LTS, and there may be issues with other platforms. No assistance will be given for installations not using Ubuntu 14.04 LTS. - I am going to install dashing with an instance name of rmm_hud. Please feel free to name your name whatever you want, but just be sure to change all instances of rmm_hud to your own preference - All command lines are in green! - The guide assumes that you already have 'some' experience in a linux environment! - You will need an SSH client to access your linux environment with ease. First off... let's install Ruby and obtain the necessary gems, and a couple of extra bits we will need: Tip: Make yourself a cup of coffee whilst this is performing its configuration. Tip: If you have problems with this, try running as “sudo”. Sometimes it can throw up a warning. NOTE: Be patient with the roo gem install, it can take a few minutes to install. Do NOT cancel this. Tip: Make another coffee or four, this takes a while. Next up, we will change directories and Install Dashing: NOTE: **** denote random characters. Be sure to replace the *****'s in the guide with what is on your system! To find out what 'the characters are' then do a ls -l command while in the /opt directory. NOTE: This installs the 'Hotness Widget'. NOTE: This installs the 'Weather Widget'. (Optional Step!) NOTE: This installs the 'RSS/News Widget'. (Optional Step!) NOTE: This installs the 'Server Status Widget'. (Optional Step!) NOTE: This actually compiles the dashing install and creates the dashboard. Use CTRL + C to stop dashing. OK... So at this point, you should be able to navigate to http://ip.of.ubuntu.vm:3030 and see a dashboard! If you don't then carefully go over steps one more time, making sure you have not missed anything out. If you DO see your dashboard, let’s set dashing up as a service first, then we will start on getting your data in there! Now that we have the base dashboard set up, next step is to make sure that it will run as a Service, so the process won’t end when you exit your putty session. To do this, we need to create a service file, and a folder so that it store its logs. One of Dashing's dependencies is 'thin'. This is a really lightweight web-service that the dashboard will run on. We can get this setup in just a few steps. Reminder: If you chose not to use rmm_hud as your dashing instance name, be sure to change it on line 6! Now that you have created the service that the dash will run on. Now we can start it! NOTE: To RESTART the 'thin' service (i.e.: your dashboard) at ANY time, then the command for that is: sudo stop thin && sudo start thin Now, let’s get the SQL set up and get some data in your dashboard! Next up, we are going to create an 'odbc connection' to our LabTech server, to port 3306. This is done by creating a my_db.rb file. If you want to create a READ-ONLY account in your LT Database, to use (almost like a service account) for this, then that can be done by running the following query in SqlYog: Now, we will create another '.rb' file for a SQL query. Each query needs to be in it's own '.rb' file, and overtime you will have lots of these, so be sure to name appropriately and try and avoid spaces in your filenames!! For the purposes of the How-To Guide, we will create an agentcount.rb file. This will return the number of agents installed in your LT system. Please also consider when writing your queries (in your '.rb' files, make sure that they bring back a valid result in SQLyog first!! The last thing we need to do in order for this result to show on your dashboard is program a widget to present the data. We will first need to create our own dashboard, which we call 'home' (by copying one that is already included) and then replacing an existing widget (or 'tile') with one that will show your query result. Now, if everything works correctly, you should see the below image on your dashboard: NOTE 1: Ensure that 'data-warm' value represents YOUR Total LT License count. NOTE 2: Feel free to give your dash 'page' a new name - on Line 11. NOTE 3: Every time you make a change to the home.erb file, you will need to restart dashing for change to take effect. (sudo stop thin && sudo start thin). TIP 1: Change the default image in /assets/images/logo.png for the image widget (I’ve found the easiest way to get the file on there is to rename the old file ‘sudo mv logo.png logo2.png’ then download the new logo.png using ‘sudo wget http://url-to-download-image.png’) TIP 2: Favicon change, same method used above & favicon is located in the /public directory. TIP 3: Want more than 5 colums or the formatting is messed up? Add the below script to the top of your home.erb file. <script type='text/javascript'> $(function() { Dashing.widget_base_dimensions = [370, 340] Dashing.numColumns = 5 }); </script> TIP 4: Test things, use your SQL code to get what you want. TIP 5: if the page doesn’t load, or you get a timeout, or none of the tiles appear, remove or change back to whatever you just made a change to TIP 6: when making large changes, always ensure to ‘sudo cp’ to make a backup copy of the file you are editing.
  11. I'm not sure regarding the specific technician associated, but on the internal monitors: Double click monitor in question > select alerting tab > edit or create a new template (View the templates on how to configure) > open up email error action > select email error > day selection required > bottom right, you will see the email alert contacts. Hope this helps!
  12. You're welcome. As far as I am aware, yes. RE the logs, if you see the additional condition, it searches a particular log on the machine, it will send a command to the agent to search that specific log file for those particular event ID's. I'm not confident that they are all the error codes, but they flag up all of our backups & I believe I did some searching when I made the monitor to find all the event ID's that relate to a backup failure. I thought the same thing, did you not get any onboarding via LT? We had some, but the majority of it I've done myself, they give you a base to work off, add what they can during the implementation, then I've just done the rest myself.
  13. It's not reliable but we tend to check most days, but we also use an internal monitor that checks for an event (won't always be 100% accurate). Result: (5, 9, 17, 18, 19, 20, 21, 22, 49, 50, 52, 517, 518, 521, 527, 528, 544, 545, 546, 561, 564, 612) Additional condition: eventlogs.Source='Microsoft-Windows-Backup' and timegen > DATE_SUB(CURRENT_DATE(),INTERVAL 1 DAY) (pasted above so you can copy and paste). This alerts us if a log has been logged in Windows Backup which contains an error, all the numbers are different failure event ID's that get logged.
  14. Hi All, I just wanted to share my way of monitoring our clients whom use HP server hardware. I've found that this is the most reliable & functional for how we work & monitor our customers & thought I'd share it in case it helps anyone else. Please note: I will not be responsible for any damages / downtime occurred to your devices if any occur. First of all, you need to have SNMP installed on your servers, you can complete this by following the below: Install SNMP feature on the OS that is directly on top of the hardware Log into your dedicated server Click on Windows Key > Administrative Tools > Server Manager. Click Manage > Add Roles and Features. Click Next > Select SNMP SNMP Service Installed Click on Windows Key > Administrative Tools > Services. Right click on SNMP Service and click on Properties. Click on the Security tab. Add permissions as below: public - READ ONLY private - READ WRITE Set "Allow SNMP Packets from these hosts" Ensure "localhost" & "" are in the field below. One thing to note, is if you are managing this on a server core using RDP & you cannot see the security settings for the SNMP service, you will need to install SNMP on the machine you are accessing the server from. Secondly, You will need to ensure you have HP system management homepage installed on the physical server. You will need to look on HP's website to download drivers, you will need the below for this to work properly: iLO Channel Interface Driver iLO Management Controller Driver HP Insight Management Agents for Windows x64 editions (NOT WBEM, these are the SNMP Agents) HP System Management Homepage Try and install in the order above & you shouldn't have any problems, the management agents will not install if SNMP feature is not installed. Thirdly, you will need to create a group for this particular set of servers / monitors. Create a group. add your searches for the group so you can auto join devices. I set as master to keep devices in the group & limit the search. Once this has been completed, you will need to add your monitors. Right click the group you created Select "add remote monitors" Select "Monitor the Network" and next Select "SNMP" Input the loopback address here "" (as we added earlier in the service security) & Select next Input your OID you want to monitor & ensure the community string is set to public & select next Below are the OID's I use to monitor critical hardware, you can check other items to monitor by using a MIB browser & searching the MIB file "cpqhlth.mib" (download from HP website). HP - Memory Check . HP - PSU Condition . HP - RAID Status . HP - Overall Server Health Status . Now, here's the interesting part, you can choose different methods for the comparison. I set mine as: Less than/Equals - 2 1 = Other, 2 = Healthy, 3 = Degraded, 4 = Critical or error. This basically sets the monitor up so if it returns a status value of 1 or 2, it will become a success status, if it returns value 3 or 4, it will become a fail status. Select all your frequency & alert template, I set mine to alert "once" so it doesn't spam the ticket board. You do not need to add any alert messages. Name the Montor & select finish, wait a while, whilst the monitor is applied to all the servers in your group. ( I found that it took a good 30 minutes to apply to our servers, so be patient!) Once the monitor is added you can run a test via one of the servers to see if it reports a status back. This does not affect your servers if you are using / want to continue using WBEM for the HP system management homepage. Servers should not require a reboot after this either. I've written this as I've searched for up to date HP hardware monitoring via Labtech & not had much luck being able to actively monitor our clients HP Server hardware. I am aware you can use WMI queries now & other methods, but I find SNMP is just so much more easier with Labtech & how we use it. Hope this helps someone!
  • Create New...