Nagios通过每个联系人通知哪些服务?

在Nagios 3.2.3中,我希望看到所有向特定联系人发送通知的主机/服务。 那可能吗?

好的,我可以在Googlesearch一下之后回答我自己的问题。 在Nagios支持论坛中,我find了这个答案:

https://support.nagios.com/forum/viewtopic.php?f=7&t=10329

这正是我正在寻找的。 我希望这可以帮助别人有一天。

编辑:谢谢你的提示Zoredache。 链接说你可以'猫'和'grep'Nagios的objects.cache文件从运行configuration中获取你需要的项目。 从我使用的链接:

cat /usr/local/nagios/var/objects.cache | grep 'host_name\|service_description\|contacts\|notification_period' |grep -v command_name | sed 's/host_name/\n/g' > /tmp/contacts.txt 

得到一个列表,然后我跑过去拉我想要的报告configuration项目。 它出口像:

 Server1 service_description Linux Raid Status checks /proc/mdstat contacts sysadmin notification_period 24x7 Server1 service_description Web Server Port 80 check contacts sysadmin,developers notification_period 24x7 

我希望这可以帮助别人,并再次感谢Zoredache的提示。