Comments (23)
In what item is happening?
Execute the command
powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\zbx_1c_server.ps1" lld db
from zbx-1c-server.
In what item is happening?
Execute the command
powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\zbx_1c_server.ps1" lld db
Work(Работает)
{"data":[{"{#CL.ID}":"ddf05646-2f70-4c6f-8979-582ca3cc0d60","{#CL.NAME}":"1C","{#CL.PORT}":1541,"{#CL.SERVER}":"1C","{#CLDB.ID}":"52cea105-13fb-439b-bcca-2cae703ba9a8","{#CLDB.DB}":"upp"},{"{#CL.ID}":"ddf05646-2f70-4c6f-8979-582ca3cc0d60","{#CL.NAME}":"1C","{#CL.PORT}":1541
.............
from zbx-1c-server.
UserParameter=1c.session[*],"C:\Program Files (x86)\1cv8<working version>\bin\rac.exe" session --cluster="$1" --cluster-user=DOMAIN\USER --cluster-pwd=PASSWORD list --infobase="$2" | find /c "1CV8"
Правильно синтаксис?
from zbx-1c-server.
Правильно синтаксис?
UserParameter=1c.session[*],"C:\Program Files (x86)\1cv8\bin\rac.exe" session --cluster="$1" --cluster-user=DOMAIN\USER --cluster-pwd=PASSWORD list --infobase="$2" | find /c "1CV8
What version 1C x64?
Path to bin 1C?
Login password is on the cluster?
from zbx-1c-server.
Правильно синтаксис?
UserParameter=1c.session[*],"C:\Program Files (x86)\1cv8\bin\rac.exe" session --cluster="$1" --cluster-user=DOMAIN\USER --cluster-pwd=PASSWORD list --infobase="$2" | find /c "1CV8What version 1C x64?
Path to bin 1C?
Login password is on the cluster?
1c - 8.3.14.1630
Windows Server 2019
C:\Program Files\1Cv8\
Start Service 1c - Domain\User
Cluster - 1C, no user and password
from zbx-1c-server.
Add in zabbix agent UserParameter:
UserParameter=1c.discovery[*],powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\zbx_1c_server.ps1" $1 $2
UserParameter=1c.session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "1CV8"
UserParameter=1c.session-all[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list | find /c "1CV8"
UserParameter=1c.session-all-hibernate[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list | find /c ": yes"
UserParameter=1c.bgj[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "BackgroundJob"
UserParameter=1c.web-session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "WebClient"
UserParameter=1c.designer-session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "Designer"
UserParameter=1c.working-process[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" process --cluster="$1" list | find /c "process"
from zbx-1c-server.
UserParameter=1c.discovery[], - [*], ???
Value """C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe"" ?? ???? ????७??? ??? ???譥?
????????, ?ᯮ??塞?? ?ணࠬ??? ??? ?????? 䠩???." of type "string" is not suitable for value type "Numeric (unsigned)"
from zbx-1c-server.
UserParameter=1c.discovery[], - [*], ???
corrected the code above
C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe
do it:
https://github.com/nikimaxim/zbx-1c-server#add-service-ras-for-monitor-1c-server-cmd
from zbx-1c-server.
UserParameter=1c.discovery[], - [*], ???
corrected the code aboveC:\Program Files\1cv8\8.3.14.1630\bin\rac.exe
do it:
https://github.com/nikimaxim/zbx-1c-server#add-service-ras-for-monitor-1c-server-cmd
I did not understand you.
from zbx-1c-server.
UserParameter=1c.discovery[], - [*], ???
corrected the code aboveC:\Program Files\1cv8\8.3.14.1630\bin\rac.exe
do it:
https://github.com/nikimaxim/zbx-1c-server#add-service-ras-for-monitor-1c-server-cmdI did not understand you.
Use this:
UserParameter=1c.discovery[*],powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\zbx_1c_server.ps1" $1 $2
UserParameter=1c.session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "1CV8"
UserParameter=1c.session-all[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list | find /c "1CV8"
UserParameter=1c.session-all-hibernate[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list | find /c ": yes"
UserParameter=1c.bgj[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "BackgroundJob"
UserParameter=1c.web-session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "WebClient"
UserParameter=1c.designer-session[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" session --cluster="$1" list --infobase="$2" | find /c "Designer"
UserParameter=1c.working-process[*],"C:\Program Files\1cv8\8.3.14.1630\bin\rac.exe" process --cluster="$1" list | find /c "process"
from zbx-1c-server.
(((
Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '??㬥?? "C:\Program Files\Zabbix Agent\zbx_1c_server.ps1" ??? ??ࠬ??? -File ?? ???????. ?????? ???? ? ???????饬? 䠩?? ? ???७??? ".ps1" ? ????⢥ ?
from zbx-1c-server.
(((
Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '??㬥?? "C:\Program Files\Zabbix Agent\zbx_1c_server.ps1" ??? ??ࠬ??? -File ?? ???????. ?????? ???? ? ???????饬? 䠩?? ? ???७??? ".ps1" ? ????⢥ ?
What will? PowerShell
powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\zbx_1c_server.ps1" lld db
from zbx-1c-server.
powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\zbx_1c_server.ps1" lld db
PS C:\Users\inkostin> powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zbx_1c_server.ps1" lld db
{"data":[{"{#CL.ID}":"ddf05646-2f70-4c6f-8979-582ca3cc0d60","{#CL.NAME}":"1C","{#CL.PORT}":1541,"{#CL.SERVER}":"1C","{#CLDB.ID}":"52cea105-13fb-439b-bcca-2cae703ba9a8","{#CLDB.DB}":"upp"},{"{#CL.ID}":"ddf05646-2f70-4c6f-8979-582ca3cc0d60","{#CL.NAME}":"1C","{#CL.PORT}":15
.................
working...
from zbx-1c-server.
Zabbix Web > Monitoring > Latest Data > filter(Application: 1C server).
Send screenshot
from zbx-1c-server.
Zabbix Web > Monitoring > Latest Data > filter(Application: 1C server).
Send screenshot
https://radikal.ru][img]https://a.radikal.ru/a22/1910/45/f9af0be7c480.png
https://a.radikal.ru/a21/1910/69/1115ec57c80b.png
from zbx-1c-server.
Work?
C:\Program Files\Zabbix Agent\\zabbix_agentd.exe -c C:\Program Files\Zabbix Agent\\zabbix_agentd.conf -t 1c.discovery["lld, db"]
from zbx-1c-server.
Work?
C:\Program Files\Zabbix Agent\\zabbix_agentd.exe -c C:\Program Files\Zabbix Agent\\zabbix_agentd.conf -t 1c.discovery["lld, db"]
Work!
from zbx-1c-server.
Send screenshot discovery host.
Problem in zabbix server.!
from zbx-1c-server.
Did you manage to find a problem?
from zbx-1c-server.
Did you manage to find a problem?
No.
from zbx-1c-server.
Did you manage to find a problem?
https://a.radikal.ru/a01/1910/b8/c17631005197.png
from zbx-1c-server.
On detection at you everything fulfills.
Items added in Zabbix Web > Host > 1C > Items?
Name: 1C cluster DB discovery: *
from zbx-1c-server.
does it work?
from zbx-1c-server.
Related Issues (3)
- Нет данных HOT 4
- Нет данных HOT 24
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.
from zbx-1c-server.