Thank you for helping me here .
1) Am able to run the script as nagios user inside the nagios server and getting perfect output
2) am running a shell script inside that the esxcli is called and the username and password are hardcoded in the shell script . Ip address is passed as argument to the shell script .
Actually i have two commands inside the shell
a)esxcfg-hostops - to get the manufacturer details
b) esxcli - to get the system information
Both output are set for front end display . But only the a) command output shown at the front end and for the b) command output is showing
Code: Select all
"Runtime error: coercing to Unicode: need string or buffer, NoneType found"
am using vmware vsphere cli 6.5