Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery rules errors #40

Open
ghost opened this issue Oct 11, 2019 · 3 comments
Open

Discovery rules errors #40

ghost opened this issue Oct 11, 2019 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Oct 11, 2019

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
Copy link

mvthul commented May 12, 2020

Any fix yet

@wmorgue wmorgue added bug Something isn't working good first issue Good for newcomers labels Mar 22, 2021
@wmorgue
Copy link
Collaborator

wmorgue commented Mar 22, 2021

Hi @ghost
You steel need help with this issue?

@woodsy900
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants