[Nagios-devel] Modified SaintMap

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Modified SaintMap

Post by Guest »

--0-1518706045-1039617145=:17152
Content-Type: multipart/alternative; boundary="0-1028731922-1039617145=:17152"

--0-1028731922-1039617145=:17152
Content-Type: text/plain; charset=us-ascii


Hallo !!

I have modified „SaintMap“ that it produces an output in the Template-Based way and I have written 2 little perl programmes that transfom hosts.cfg and hostextinfo.cfg into a simplified default (old) method definition. I use the “old” method as input for SaintMap.



How to Use:

Copy hosts2default.pl and hostextinfo2default.pl into the nagios-etc-folder (for instance, /usr/local/nagios/etc/) and run “./hosts2default.pl” and “./hostextinfo2default.pl” (both executable !!) on the command line in the nagios-etc-folder (Make a backup first !! ; )) Hosts2default.pl returns a file called hostsdefault.cfg and it contains only the host_name and one (!) parent !! Hostextinfo2default.pl creates a file with the name hostextinfodefault.cfg.

The next step is to start SaintMap (executable !!) in a XTERM-window with the command “./saintmap.pl”. Then you open hostsdefault.cfg and hostextinfo.cfg. You can now see your old map (no images – only the “?” appears as icon). Next: Drag-and-Drop.

When you have finished your work, save to any file (best: hostextinfo.cfg) and this file contains your “Extended Host Information”.

SEE YOU

HPS

PS: I’m not in the MailingList !!



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-1028731922-1039617145=:17152
Content-Type: text/html; charset=us-ascii

Hallo !!
I have modified „SaintMap“ that it produces an output in the Template-Based way and I have written 2 little perl programmes that transfom hosts.cfg and hostextinfo.cfg into a simplified default (old) method definition. I use the “old” method as input for SaintMap.

How to Use:
 Copy hosts2default.pl and hostextinfo2default.pl into the nagios-etc-folder (for instance, /usr/local/nagios/etc/) and run “./hosts2default.pl” and “./hostextinfo2default.pl” (both executable !!) on the command line in the nagios-etc-folder (Make a backup first !! ; )) Hosts2default.pl returns a file called hostsdefault.cfg and it contains only the host_name and one (!) parent !! Hostextinfo2default.pl creates a file with the name hostextinfodefault.cfg.
 The next step is to start SaintMap (executable !!) in a XTERM-window with the command “./saintmap.pl”. Then you open hostsdefault.cfg and hostextinfo.cfg. You can now see your old map (no images – only the “?” appears as icon). Next: Drag-and-Drop.
 When you have finished your work, save to any file (best: hostextinfo.cfg) and this file contains your “Extended Host Information”.
 SEE YOU
HPS
 <SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-l

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: hps_kolsassberg@yahoo.com
Locked