Modified SaintMap

Jamie jamie.baddeley at bclnz.net
Thu Dec 12 01:17:08 CET 2002


Hi,

I tried the perl scripts. Unfortunately they barfed at me.

see following:

-Jamie

# ./hostextinfo2default.pl
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
Use of uninitialized value in concatenation (.) at ./hostextinfo2default.pl
line 85, <HOSTEXT> line 10.
#



# ./hosts2default.pl
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 323.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 323.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 340.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 340.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 506.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 506.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 522.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 522.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 538.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 538.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 554.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 554.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 570.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 570.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 586.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 586.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 602.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 602.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 618.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 618.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 634.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 634.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 650.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 650.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 666.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 666.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 682.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 682.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 698.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 698.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 714.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 714.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 730.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 730.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 747.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 747.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 763.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 763.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 779.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 779.
Use of uninitialized value in string eq at ./hosts2default.pl line 45,
<HOST> line 794.
Use of uninitialized value in concatenation (.) at ./hosts2default.pl line
55, <HOST> line 794.
222222222222222222222222222222222222222222#

----- Original Message -----
From: HPS
To: nagios-users at lists.sourceforge.net
Cc: nagios-devel at lists.sourceforge.net
Sent: Thursday, December 12, 2002 3:32 AM
Subject: [Nagios-users] Modified SaintMap


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



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list