is it possible to modify what is displayed in the Nagios Map popups? I would like to make that popup show the content of the “notes” field of the server configuration.
Version: Nagios 3.2.3, running on a Debian 5.0 (hand installed, not apt).
i suspect it requires a change in statusmap.cgi source code… keep a diff of the changes you do if you decide to. so you can reapply the patch each time you upgrade nagios
",escape_string(hst->alias));
inside statusmap.c, and then recompiling (make) and installing (make install) it.
Unfortunately, that caused the statusmap module to crash. I suspect that the ‘notes’ information is not copied in the ‘hst’ array. I tried to backtrack where that array came from, but gave up after reaching some files in the ‘include’ folder (have other priorities right now, other things to bring to work here).