Jump to content

Keith

Members
  • Content Count

    5
  • Joined

  • Last visited

About Keith

  • Rank
    IT Apprentice

Profile Information

  • Location
    Texas

Recent Profile Visitors

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

  1. Keith

    Where does returned data go?

    This is more of a general script question about Pulseway. There are a number of the built-in script that appear like they should return data. When I review the scripts they are PowerShell scripts that would return data to the screen. I don't understand where the data is returned when they are run remotely via Pulseway. Is there someplace that Pulseway returns the data from a script after it is run? This would be super convenient but I surely cannot find this. Examples: List Installed Hotfixes List System Restore Points List Computers in the Active Directory These are built in but I don't understand where the results are supposed to be returned???? Thanks in advance for your help.
  2. Keith

    Powershell User Context

    I am trying to create a PowerShell script that will run DBCC checks on a SQL server and then report status back to Pulseway. I have a working script that I can run from the command line but the script will not run correctly when sent as a Pulseway script. Here are the details. The script fails because it is unable to authenticate to the SQL server. The SQL Server is running on the same machine as I am running the script on. Thus wil are not dealing with cross machine accounts. I have put debug code into the script and the account reported back by PowerShell is MACHINENAME$. The machine is in a domain and thus the script appears to be reporting back the machine account in the domain. This implies to me that when Pulseway runs a script it is using the NT AUTHORITY\SYSTEM account and that the MACHINENAME$ account would then be used for any network access. Is this correct? I have given SQL Server rights to NT AUTHORITY\SYSTEM as well as DOMAIN\MACHINENAME$ and NT AUTHORITY\LOCAL SERVICE. Non of these rights appear to allow me to connect to SQL. Has anyone ever written Powershell code for Pulseway and been able to connect to SQL Server? Any ideas, thoughts or details on the user contexts used by Pulseway would be helpful.
  3. Keith

    Notify on Failed Login Attempts

    We would like to be able to notify on both successful and failed logins on Linux. (Specifically Ubuntu) We see that there is a property in config.xml called "UserLogsIn" and this is exactly what we want to notify on when there is a login. What I have not found is a way to notify on a failed login. Is there a way to notify for failed Logins? If not, is there a way to notify based on the text "FAILED LOGIN" being added to auth.log? Any help would be appreciated.
  4. Keith

    Ping Multiple Machines?

    I think I have found the answer to my question and hope that someone can verify. It appears the the "Ping Server" option allows you to ping just a single machine and this is a one per agent option. There is another option called "PingResponse" which is farther down in the config.xml. This allows you to ping multiple servers and set a threshold to monitor for response wise (in ms). You can also set priorities for slow and no response. Exactly what I was looking for. However, I am unable to get the ping response to cause a notification. When a response is slow or does not return my priorities are working if I look under "Ping Responses" in my dashboard. But even when a ping response notifies at priority 0 and it goes red I do not get a notification or an alert.
  5. Keith

    Ping Multiple Machines?

    I have a Ubuntu Linux machine that I have setup to monitor a number of network resources. One of the things I want to do is pick a few locations across VPN's to look for any latency issues. When I setup my config.xml with multiple servers, I only seem to look at the first server. Here is an example (IP's changed to protect the innocent): <!--Network--> <Network> <!--Ping - Server: server IP address or hostname--> <Ping Server="1.2.3.1" Enabled="true"/> <Ping Server="1.2.3.2" Enabled="true"/> <Ping Server="1.2.3.3" Enabled="true"/> <Ping Server="1.2.3.4" Enabled="true"/> When I do this it appears that the ping time is the same as 1.2.3.1. I know that 1.2.3.3 and 1.2.3.4 are a longer ping time. So I turned off 1.2.3.1 and 1.2.3.2 like this: <!--Network--> <Network> <!--Ping - Server: server IP address or hostname--> <Ping Server="1.2.3.1" Enabled="false"/> <Ping Server="1.2.3.2" Enabled="false"/> <Ping Server="1.2.3.3" Enabled="true"/> <Ping Server="1.2.3.4" Enabled="true"/> If I do this I loose my Ping in my pulseway dashboard. So I remove the first two lines and leave the following: <!--Network--> <Network> <!--Ping - Server: server IP address or hostname--> <Ping Server="1.2.3.3" Enabled="true"/> <Ping Server="1.2.3.4" Enabled="true"/> Now I see the longer ping time of 1.2.3.3. Thus it appears that Pulseway only looks at the first ping statement. Is this connect? Does Pulseway only support one Ping? If not, I may have found a bug. Any help would be appreciated.
×