Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to check if my configuration management system is running on my servers. It is pretty easy to use it to distribute a Zabbix configuration that will test if the CMS is running. However, hosts that are not presently running the CMS will return ZBX_NOTSUPPORTED, and I'd like to detect these as well.

How can I do that?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

You can set an item zabbix[items_unsupported], then make a trigger if returned value of this item > 0.

Check the list of internal checks in the documentation for more information.

share|improve this answer
    
This won't tell me if my one particular item is unsupported. –  Daniel C. Sobral Apr 19 '11 at 22:58
    
Unsupported items are bad, for any item... –  sebthebert Apr 19 '11 at 23:10
    
If you really want to check unsupported item for particular item anyway, you can try to get it from zabbix_server.log with "logrt[file_format,<regexp>,<encoding>,<maxlines>,<mode>]" –  sebthebert Apr 19 '11 at 23:12

You can set a log trigger to read zabbix server log searching by 'cms item' and 'ZBX_NOTSUPPORTED', but, if you had zabbix agent installed on machines without CMS installed, you can search by cms user or try read CMS logs in Zabbix.

This key should work for puppet and Debian: 'vfs.file.regmatch[/etc/passwd,puppet]'

share|improve this answer

Go here: http://www.zabbix.com/forum/showpost.php?p=85153&postcount=7

One bright spark created an external script for use in zabbix that will tell you server by server which items are unsupported.

Easy to install and easy to make work.

This will solve your problem where the zabbix[items_unsupported] will not.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.