zabbix-1.6.6 - I have created a external script to retrieve the OS version a unix host has (I simply dont want to enter 150 hosts information in a Profile). I have added the item, created the trigger, and added it to the a template (template_aix).
By hand the script works great, the proper information is returned.
If I add this external script as a "script" to the zabbix interface (admistration --> scrpts --> add a script), it reads the file, but I see no output from the execution of the script in the GUI popup. the path to the file and file name is correct. The mode to the file is 755.
Key called os.version[]. Trigger called OS Version and I added to the OS section of the host.
the external script does a case statement eval of which os is being pulled, and echo's the information either from a simple uname -X for solaris or a "oslevel" for AIX.
By hand the script works great, the proper information is returned.
If I add this external script as a "script" to the zabbix interface (admistration --> scrpts --> add a script), it reads the file, but I see no output from the execution of the script in the GUI popup. the path to the file and file name is correct. The mode to the file is 755.
Key called os.version[]. Trigger called OS Version and I added to the OS section of the host.
the external script does a case statement eval of which os is being pulled, and echo's the information either from a simple uname -X for solaris or a "oslevel" for AIX.
Comment