hi all ,
I would like to enable send running application using zabbix server by using zabbix-agent command ,
I use the format below to run app
./zabbix_get -s 192.168.9.9 -k system.run["psexec.exe -i 0 -u Administrator -p PaSSwoRd c:/nodejs/node.exe",nowait]
It means that my Windows server with IP address : 192.168.9.9 has application on windows path with name psexec that enable me to run application like node.exe ( this is for example I would like to run any application )
the switch -i 0 means that running application as consol and send consol output to windows console ( by defauly my server login automaticaly using Administrator )
but I have some problem
when I run psexec .... from server it running my app without problem and open the console , however when I run it on remote windows compute it run the app without problem too ,
when I useing zabbix agent to run psexec to run the app only psexec process is running and my application not runngin
1- how I can run the application using zabbix agent using local user ( not as SYSTEM user )
2- how can send user and password to run application using zabbix via zabbix_get
P.S: all of my application must be run as administrator and open application console on Administrator consol .
sorry for my bad English typing
Regards
Omid Hosseini
I would like to enable send running application using zabbix server by using zabbix-agent command ,
I use the format below to run app
./zabbix_get -s 192.168.9.9 -k system.run["psexec.exe -i 0 -u Administrator -p PaSSwoRd c:/nodejs/node.exe",nowait]
It means that my Windows server with IP address : 192.168.9.9 has application on windows path with name psexec that enable me to run application like node.exe ( this is for example I would like to run any application )
the switch -i 0 means that running application as consol and send consol output to windows console ( by defauly my server login automaticaly using Administrator )
but I have some problem
when I run psexec .... from server it running my app without problem and open the console , however when I run it on remote windows compute it run the app without problem too ,
when I useing zabbix agent to run psexec to run the app only psexec process is running and my application not runngin
1- how I can run the application using zabbix agent using local user ( not as SYSTEM user )
2- how can send user and password to run application using zabbix via zabbix_get
P.S: all of my application must be run as administrator and open application console on Administrator consol .
sorry for my bad English typing
Regards
Omid Hosseini