Hello all, I am setting up a custom sensor that is using a custom Lookup Graph. It is using a Powershell script to poll for port status on a switch, and it then converts the port status to a numerical value that is an int which is confirmed when running $port1 -is [int]. It keeps coming back with "Warning caused by lookup value 'Undefined lookup value (0)'"
Issue with Custom Lookup Sensor
Modified on 2025-06-10 16:57:20 +0200
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Hi Benny,
Thanks for contacting us.
I understand that you need assistance with Powershell script returning the error "Warning caused by lookup value", correct?
Here's a similar KB article: https://helpdesk.paessler.com/en/support/solutions/articles/80076-custom-lookup-values-issue
Let me know if this helps and if possible you can also send an email to support@paessler.com to check more in detail this scenario you have. D
NOTE: Scripting is a custom feature hence the support is limited as customizations are out of support.
Kind regards,
Miguel Aikens
Sep, 2022 - Permalink