zabbix-scheduledtask's People
Forkers
iakim vornatovska armandocovre a1exandrp chrisbier pgupta35 alissong wesleibborges koma-xrd luciano-lgtizabbix-scheduledtask's Issues
Add remark about Timeout parameter.
Hi @romainsi
About https://github.com/romainsi/zabbix-scheduledtask/tree/master/Zabbix%20v3.4
At the first time on discovery rule, I got "Timeout while executing a shell script." message.
And it was solved after I have changed the Timeout parameter on an agent in the zabbix_agentd.conf from the default 3 to a higher value(I set 30).
For this reason, I think it has the sense to add a remark about the possible message and parameter.
Regards.
Error when try to add translated tamplate.
@romainsi hi again
https://github.com/romainsi/zabbix-scheduledtask/tree/master/Zabbix%20v3.4
I translated your zbx3.4_export_templates.xml to English(please check the added file).
But when I try to add this template, I get "Application with ID "" is not available on "Template ..." error. I checked it a few times, but can't understand the reason for the error.
Tell me please, do you know why it could be so?
zbx3.4_export_templ_en.xml.zip
Best wishes!
Template does not work in Zabbix 3.2.7
In Zabbix 3.2.7 template does not work. In "Configuration" -> "Hosts" -> "Discovery rules" status "Not supported" and error "Value should be a JSON object".
script sends not all tasks to zabbix server
Windows 2016 Server standard with zabbix agent 4.4
Scheduler includes over 10 tasks:
- 4 custom created; author: admin; running: another admin
- 3 system created; author: user; running: the same user; (it's User_Feed_Synchronization}
- 2 third party created; running: admin
- 1 system; author: CreateExplorerShellUnelevated; running: admin
if run powershell, and execute: Get-ScheduledTask -TaskPath \ | where {$_.state -like "Ready" -or "Running"}
I see only 1 task: system; author: CreateExplorerShellUnelevated;
if run powershell as Administrator:
I see all tasks
when works your script, zabbix server receive only 2 task: third party; running: admin
third party created task, means that author not user, system or other build-in accounts and services.
Could you help ?
p.s. Based on the foregoing, your script can send to server only third party created tasks, сonsidering the above conditions,
regardless of the parameters in zabbix_agentd.conf
EnableRemoteCommands=1
UnsafeUserParameters=1
UserParameter=TaskSchedulerMonitoring[*],powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\DiscoverScheduledTasks.ps1" "$1" "$2"
in DiscoverScheduledTasks.ps1 changed path with: path = " \ "
script can't get tasks, created by users, admins, system or services
Script returns nothing
Hi,
I just tested your script on a windows 2016 and it gives me only a newline, when I zabbix_get.
Do you have an idea why ?
It's the first time i'm using your script ^^
In 3.4.5 agent and Win 10 WinServer 2012 R2 not working
In Zabbix 3.4.5 template does not work.With Windows 10 In "Configuration" -> "Hosts" -> "Discovery rules" status "Not supported" and error "Value should be a JSON object" and with Win Server 2012 R2
In "Configuration" -> "Hosts" -> "Discovery rules" status "Enabled" and error "Value should be a JSON object"
Just for information: updated version
I slightly updated your script. Technically, it was a fork :-)
The biggest change was to avoid non-ASCII character problems
See
https://github.com/mtxadmin/zabbix/tree/main/Windows Scheduled Tasks
Thanks for the script.
Value should be a Json Object
When i attach this template to the agent i get an error stating the "value should be json object " but the status of the template is enabled and it gives no output .
Please help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.