Hi
I've got problems adding sensors for an AIX 6.1 machine.
We're running PRTG 13.3.5.2952. We would like to monitor an AIX 6.1 machine using the "SSH script" or "SSH script advanced" sensor types. I've created the device for the machine in prtg, and set the login credentials for SSH on the device itself. I've confirmed that this works by trying to add an "SSH disk free" sensor. This sensor works great, PRTG logs on and pulls info about the mount points and this data is shown just fine in the web ui. This tells me that the device itself seems to be setup correctly.
I've created the /var/prtg/scripts and the /var/prtg/scriptsxml directories on the AIX machine. There is a script inside of the scriptsxml directory which simply returns dummy values in xml format. The credentials supplied on the device have permissions to execute this script. When i try to select "Add Sensor" on the device and then select either the "SSH script" or "SSH script advanced" sensor type the system goes to "Preparing sensor settings" and then pops up an error message stating:
"Sorry, the scan for available monitoring items has failed Error Message ls: Not a recognized flag: M Sensor Type SSH Script Device <MyDeviceNameHere>"
To me it would appear that the login succeeds, but then when trying to scan for available scripts PRTG runs an "ls" command with a "-M" (capitlized) as an argument, which the ls command does not like.
Can these types of sensors not work on AIX 6.1? Have i forgotten to create some directory structure on the AIX machine necessary for this to functtion? Please assist.
If we cannot implement these script based sensors on our AIX unix infrastructure it will be difficult to achieve the level of monitoring we desire for our systems.
Best Regards
Peter Dahlgaard
Add comment