I've the following situation
I want to monitor the internal DB size of an exchange database, the good thing is that I've made an vbs script which can tell me that.
the script needs two variables, the exchange server and the database
the command line syntax could be like this: exchange2003db.vbs "server1" "mailbox store"
when i run the script at the command prompt:
cscript /Nologo C:\Zabbix\exchange2003db.vbs "server1" "mailbox store"
it answers correctly 45000kb
the problem is how do I get this into zabbix server as an item???
I've read the manual and searched the help several times but cannot find the right method. When I create an item I use the following properties:
item type = zabbix external
key = exchange2003db["server1","mailbox store"]
type of info = num / int
exchange2003db is added to the zabbix_agentd.conf like this
when I enable the item and I put logging on the agent it tells me that the script has been run without parms (so without the "server1" and "mailbox store" vallues)
is there somebody who uses this also, and what sort of config you use
the help docs are very poor at this point. I you need some info please ask
we run zabbix 1.4.4 on debian, agents @ 1.4.4.
I want to monitor the internal DB size of an exchange database, the good thing is that I've made an vbs script which can tell me that.
the script needs two variables, the exchange server and the database
the command line syntax could be like this: exchange2003db.vbs "server1" "mailbox store"
when i run the script at the command prompt:
cscript /Nologo C:\Zabbix\exchange2003db.vbs "server1" "mailbox store"
it answers correctly 45000kb
the problem is how do I get this into zabbix server as an item???
I've read the manual and searched the help several times but cannot find the right method. When I create an item I use the following properties:
item type = zabbix external
key = exchange2003db["server1","mailbox store"]
type of info = num / int
exchange2003db is added to the zabbix_agentd.conf like this
UserParameter=exchange2003db,cscript /Nologo C:\Zabbix\exchange2003db.vbs"
when I enable the item and I put logging on the agent it tells me that the script has been run without parms (so without the "server1" and "mailbox store" vallues)
is there somebody who uses this also, and what sort of config you use
the help docs are very poor at this point. I you need some info please ask
we run zabbix 1.4.4 on debian, agents @ 1.4.4.
Comment