Giter VIP home page Giter VIP logo

wsus's People

Contributors

zbx-sadman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wsus's Issues

Count only the approved updates

Hello, I tried your scripts and template and my manager love it.
I think we could improve the script in order to count only the approved updates per group. (Neededupdates)

Update Code

can you update this to support latest grafana and zabbix? and english version too please thanks

ERROR: A parameter cannot be found that matches parameter name 'Value'.

I am testing WSUS tempIate on Zabbix 4.0 and have an error on all items:

2019-01-04 10:24:30 | C:\Program Files\ZABBIX_Agent\wsus_miner.ps1 : A parameter cannot be found that  matches parameter name 'Value'.
     + CategoryInfo          : InvalidArgument: (:) [wsus_miner.ps1], ParentCon
     tainsErrorRecordException
     + FullyQualifiedErrorId : NamedParameterNotFound,wsus_miner.ps1
-- | --

In zabbix agent config there is a standard user parameter:

UserParameter=wsus.miner[*], powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "C:\Program Files\ZABBIX_Agent\wsus_miner.ps1" -Action "$1" -Object "$2" -Key "$3" -Id "$4" -Value "$5" -consoleCP CP866

Items type is set as Zabbix agent (not Active), because I don't have Active checks enabled.

What can I do with that error?

Regards.

Should detect client reporting status

On one of our client sites we had WSUS installed and the zabbix monitoring.
Everything worked fine, unless someone messed up the IIS config, which resulted in clients no beeing able to connect to the wsus server and not reporting to it.

The zabbix WSUS monitoring script/template did not report/discover this problem.
It would be nice to be receive a trigger which alerts in such conditions.

One way to detect this would be to look for the date of the last client reporting to the server and then trigger if it's older than 5-10 days.

Also another trigger which looks if 80% of the clients have reported in the last 2 weeks would be helpfull to catch such cases.

The argument "wsus_miner.ps1" to the -File parameter does not exist

I was able to establish the connection between the zabbix server and the agent installed on the wsus server, but when I try to read the script, zabbix reports this message:

The argument 'C:\zabbix-agent\scripts\wsus_miner.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.

The file path is correct, the same message occurs when I try to run the command in powershell by the wsus server:

PS C:\User\Administrador> powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "C:\zabbix-agent\scripts\wsus_miner.ps1" -Action "Get" -Object "Configuration" -Verbose
The argument 'C:\zabbix-agent\scripts\wsus_miner.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.

From what I understand zabbix finds the agent configuration file, it runs the UserParameters, but at the time of executing the script it does not recognize it.

Error on wsus_miner

i got this erros on windows 2012 host with wsus 6.3

5199:20160407:164721.462 Sending [wsus.miner[Discovery,ComputerGroup]
At C:\Zabbix\wsus_miner.ps1:310 char:15
At C:\Zabbix\wsus_miner.ps1:310 char:15

i got no data in zabbix server side
this erros is from zabbix log.

can you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.