itmicus / zabbix

Zabbix Templates
GNU General Public License v3.0
155 stars 264 forks source link

Discovery rules errors #40

Open ghost opened 4 years ago

ghost commented 4 years ago

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '#< CLIXML { "data":[

{ "{#DISKNUMLET}" : "0 C:" }, { "{#DISKNUMLET}" : "1 F:" }, { "{#DISKNUMLET}" : "2 D:" }, { "{#DISKNUMLET}" : "3" }, { "{#DISKN

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Windows Physical Disk IOPS: Discover PhysicalDisk Item prototypes 10 Trigger prototypes 2 Graph prototypes 3 Host prototypes system.run[%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy ByPass -nologo -EncodedCommand {$DISCOVERDISK1}{$DISCOVERDISK2}{$DISCOVERDISK3}{$DISCOVERDISK4}{$DISCOVERDISK5}] 1d Zabbix agent (active) Not supported  
  Template OS Windows Active (itmicus.ru): Logical Disk discover Item prototypes 7 Trigger prototypes 5 Graph prototypes 2 Host prototypes os.windows.active[discover,ldisk] 1d Zabbix agent (active) Not supported  
  Template OS Windows Active (itmicus.ru): Network Interface discover Item prototypes 9 Trigger prototypes 5 Graph prototypes 2 Host prototypes os.windows.active[discover,pnetwork] 1d Zabbix agent (active) Not supported  
  Template OS Windows Active (itmicus.ru): Physical Disk discover Item prototypes 5 Trigger prototypes 2 Graph prototypes 3 Host prototypes os.windows.active[discover,pdisk] 1d Zabbix agent (active) Not supported
mvthul commented 4 years ago

Any fix yet

wmorgue commented 3 years ago

Hi @ghost You steel need help with this issue?

woodsy900 commented 4 weeks ago

I have a similar problem and cannot seem to find any solves and its killing me