Hi,
I have plugin called check_esx3.pl and when I am trying to monitor separate LUNs which have weird names like for example:
"datastore1 (4)" then the plugin displays (null) on the screen. It either add backslashes to the \(4\) or when I use ' ' to add a space it displays
correct through CLI check in XI, but on the screen STILL FAILS and shows (null).
It is very important to fix it since the customer has requirements of monitoring all esxi.
Thanks
Plugin work through CLI, but not XI User Interface (NULL)
Re: Plugin work through CLI, but not XI User Interface (NULL
Is the "test check command" failing?
Is the check itself, once configured in XI, failing?
Is the check itself, once configured in XI, failing?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Plugin work through CLI, but not XI User Interface (NULL
In test check it is working fine, but in Nagios XI UI it is showing (null).
This is the command used:
ARG1: /usr/local/nagiosxi/etc/components/vmware/testesx1_auth.txt
ARG2: VMFS
ARG3: datastore1' '(4)
Result in Test Check Command:
Please assist urgently.
This is the command used:
With following arguments:$USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -l "$ARG2$" -s $ARG3$
ARG1: /usr/local/nagiosxi/etc/components/vmware/testesx1_auth.txt
ARG2: VMFS
ARG3: datastore1' '(4)
Result in Test Check Command:
Result from the screen is (null) as in attachment.COMMAND: /usr/local/nagios/libexec/check_esx3.pl -H "172.16.99.81" -f "/usr/local/nagiosxi/etc/components/vmware/testesx1_auth.txt" -l "VMFS" -s datastore1' '\(4\)
OUTPUT: ESX3 OK - datastore1 (4)=127109.00 MB (94.76%) | 'datastore1 (4)'=127109.00MB;;
Please assist urgently.
You do not have the required permissions to view the files attached to this post.
Re: Plugin work through CLI, but not XI User Interface (NULL
Have you tried escaping the parenthesis with backslashes as the test check command does?
Code: Select all
ARG3: datastore1' '\(4\)Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.