PDA

View Full Version : Simulate a nodata for external scripts


alixen
02-10-2008, 10:57
Hi,

I'd like to simulate in an external scripst (bash) the NODATA condition ... So zabbix notice the nodata and save it in the Database

I don't know the value to return and if it's possible ?

I've read the source code ... but i dont know more ;)

any idea please ? ;)

I'v tested :
- return nothing => item unsupported
- return a null string => value save by zabbix was 0
- return FAIL => value save by zabbix was 0
- return TIMEOUT_ERROR => value save by zabbix was 0
- kill the process himself => item unsupported
- A hugly sleep of 50s => intem unsupported

Thnk in advance,

alx

bashman
03-05-2010, 10:24
May be you could have an agent on your zabbix server to execute a query every ten minutes to check if there is updated data.