this is what $USERn$ is for. Put it anywhere you like. I tend to put mine in /etc/nagios just cos that's where all my editable stuff is.
Just point one of the $USER$n$ macros to that location and reference it in all your checkcommands.cfg definitions for those custom plugins. In fact I make subdirectories and assign them to macros depending on if they're stuff I've written or just stuff I've tweaked/edited. If somebody is tidier than me (well that's just about everybody) and has a better way of doing this, feel free to correct me. -h Hari Sekhon adi yesaya wrote: > Hi Nagiosers, > > Im curious about this thing: > Where is the best place to keep our home-made plug-ins ? > Any ideas? > > Thanks for sharing, > Adi Yesaya > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list [email protected] 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
