Comments (10)
Sure,
Might you please execute the Script in cmd shell and share the result?
Sensor log will also be awsome.
from advanced-prtg-sensors.
Report of Sensor: File "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXEXML\PRTG.ps1" not found.
Report of Sensor.Data:
Data['blockedsens'].asString := '';
Data['canlinux'].asString := '0';
Data['channelinfos'].asString := '{}';
Data['channelnames'].asString := '';
Data['exefile'].asString := 'PSx64.exe';
Data['exeparams'].asString := '-f=PRTG.ps1 -raw';
Data['fastcount'].asString := '0';
Data['host'].asString := '172.16.3.2';
Data['hostv6'].asString := '';
Data['inerror'].asString := '1';
Data['interfacenumber'].asString := '';
Data['inum'].asString := '';
Data['ipversion'].asString := '0';
Data['isexesensor'].asString := '1';
Data['lastmsg'].asString := '#Y2 @#O233 @#O231[Invalid JSON.]';
Data['lastuptime'].asString := '0';
Data['linuxlogindomain'].asString := '';
Data['linuxloginpassword'].asString := '***';
Data['monitorchange'].asString := '';
Data['mutexname'].asString := '';
Data['reboot'].asString := '42774.6879382407';
Data['reqmsginterval'].asString := '60';
Data['resultfile'].asString := 'Result of Sensor 4534.txt';
Data['sensorid'].asString := '4534';
Data['simulate'].asString := '0';
Data['timeout'].asString := '60';
Data['tlsexplicit_default'].asString := '';
Data['tlsexplicit_ftp'].asString := '';
Data['tlsexplicit_imap'].asString := '';
Data['tlsexplicit_pop3'].asString := '';
Data['tlsexplicit_port'].asString := '';
Data['tlsexplicit_smtp'].asString := '';
Data['uptimecount'].asString := '0';
Data['usednstime'].asString := '0';
Data['usewindowsauthentication'].asString := '1';
Data['windowslogindomain'].asString := '
Data['windowsloginpassword'].asString := '
Data['windowsloginusername'].asString := '
Data['writeresult'].asString := '1';
from advanced-prtg-sensors.
That is the powershell command ran through CMD, I have xxx out the point which are private.
Thanks for your help with this.
X:>powershell "& 'C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EX
EXML\PRTG.ps1'"
Starting to Process Connection to XXXXXXXXXX
Connecting BRHost...
Successful-Backups
1
1
1
Warning-Backups
0
1
1
0
1
Failes-Backups
0
1
1
0
1
Failed-Backups
0
1
1
0
1
Running-Backups
0
1
1
Successful-BackupCopys
0
1
1
Warning-BackupCopys
0
1
1
0
1
Failes-BackupCopys
0
1
1
0
1
Failed-BackupCopys
0
1
1
0
1
Running-BackupCopys
0
1
1
Idle-BackupCopys
0
1
1
Successful-Replications
0
1
1
Warning-Replications
0
1
1
0
1
Failes-Replications
0
1
1
0
1
Failed-Replications
0
1
1
0
1
Running-Replications
0
1
1
TotalBackupRead
299
Custom
GB
1
1
TotalBackupTransfer
42
Custom
GB
1
1
REPO - xxxxx
48
Percent
1
1
20
10
1
REPO – xxxxx2
17
Percent
1
1
20
10
1
from advanced-prtg-sensors.
Hi,
might you please verify that the PS1 Script is on all Probes and the Core available.
The PRTG Sensor Log reports that PSx64.exe can not find it:
Report of Sensor: File "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXEXML\PRTG.ps1" not found.
from advanced-prtg-sensors.
HI,
When i change the name of the script and ran it again i got the below error.
"The system cannot find the file specified" which is when it had a false name.
Just to confirm, the server which has the probe on is where i place the PSx64.exe and the PS1 script? all the data from the probe goes back to our central server offsite.
Thanks
from advanced-prtg-sensors.
Hi,
The manual execution is not the Problem. I think the execution vie PRTG is the Problem.
Is on all Probes where the PSx64.exe also the PS1 script located?
Yes, you are right the Probe for the Device where the Sensor is created executes the Script.
from advanced-prtg-sensors.
This is how its set up on PTRG, please could you advise on this situation?
Thanks
from advanced-prtg-sensors.
I have now resolved this issue thanks.
from advanced-prtg-sensors.
Might you please share the Solution?
from advanced-prtg-sensors.
On this instance i recreated the PS1 file and edited DNS in the code to the IP address. This is now running however i'm still getting the Odd timeout which is frustrating...
Thanks
from advanced-prtg-sensors.
Related Issues (20)
- Since installation of CVE-2023-27532 HOT 5
- Probe on another server HOT 3
- Un-Managed Agent Jobs not covered
- Please add SureBackup Jobs HOT 1
- Verify/Update Session Filters
- Problem using remote probe HOT 15
- Access to the Veeam\backup path denied after v11 Veeam update HOT 37
- XML/JSON issue. (Code: PE233) (Code: PE231) HOT 27
- Your request has timed out HOT 2
- Veeam.Backup.Core.CBackupRepository Failed HOT 2
- XML: Structural error in xml file HOT 2
- CouldNotAutoloadMatchingModule HOT 5
- XML: Structural error in xml file, 12 open items. -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231) HOT 1
- SyncSpaceInfoToDb Failed --> $RepoData = $repoList | Get-vPCRepoInfo HOT 5
- Backup Copy Jobs now recognized HOT 8
- 'Disconnect-VBRServer' is not recognized as the name of a cmdlet on new v3 script HOT 1
- Error when Repository unavailable HOT 3
- NULL can't be converted in to Type "System.Guid" HOT 1
- Veeam Backu V12 XML: Structural error in xml file, 2 open items. -- JSON: Das zurückgelieferte JSON entspricht nicht der erwarteten Struktur (Invalid JSON.). (Code: PE231) HOT 1
- Error SyncSpaceInfoToDB HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-prtg-sensors.