This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| addons:dynamic-host-notes [2015/09/29 04:46] – created jez | addons:dynamic-host-notes [2017/07/07 01:31] (current) – [Description] jez |
|---|
| |
| ===== Description ===== | ===== Description ===== |
| Xymon allows the creation of a "notes" file under $XYMONVAR/www/notes/ with the filename ''<hostname>.html''. This causes Xymon to hotlink the hostname, so that clicking on it displays the file. | A standard Xymon feature allows the creation of a "notes" file under ''$XYMONVAR/www/notes/'' with the filename ''<hostname>.html''. This causes Xymon to hotlink the hostname, so that clicking on it displays the file's contents. |
| |
| This addon is a hostname "notes" template file, that uses Javascript to auto-generate various aspects of the file. Because the content is auto-generated, the file can be copied or symlinked to other filenames, to cover as many hosts as required. | This addon is a hostname "notes" template file, that uses Javascript to auto-generate various aspects of the file's contents. Because the content is auto-generated, the file can be copied unchanged (or symlinked) to other filenames, to cover as many hosts as required. |
| | |
| | {{ :addons:dynamic-dns-notes-image.png?400 |}} |
| |
| ===== Installation ===== | ===== Installation ===== |
| |
| | To install: |
| | |
| | - copy the file somewhere on your server, perhaps in $XYMONVAR/www/notes/ |
| | - edit the file to add schemes other than ssh:, if required |
| | - symlink the file to match a hostname, for example:<code>ln -s dynamic-host-notes.html server1.html</code> |
| | - repeat for all required hosts |
| |
| ===== Source ===== | ===== Source ===== |