> I would like to add my Active Directory users to nagios contact group. > I have edited /etc/nagios/objects/contacts.cfg file and added: > > define contactgroup{ > contactgroup_name ad > alias ad > members user1, user2 > }
first you have to define user1 and user2 in your /etc/nagios/objects/contacts.cfg define contact{ contact_name user1 use generic-contact alias user1 email us...@example.com } define contact{ contact_name user2 use generic-contact alias user2 email us...@example.com } > On the same file I defined contact: > > define contact{ > contact_name ad > use generic-contact > alias ad > email email > } then define the contactgroup define contactgroup{ contactgroup_name ad alias ad members user1, user2 } ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null