Useful status map

Bruce bruce at webfarm.co.nz
Fri Sep 3 08:50:59 CEST 2004


Hi,

I had exactly the same problem when I loaded nagiosmap for the first 
time, it dost like reading some image types.

In order to fix it, I removed all the definitions for my hosts from the 
extinfo files and it loaded without hassle. The only problem after doing 
the design work was putting the images back in place :(

Cheers,

-- 
+------------------------------------------+      \|||/
| Bruce at WebFarm.co.nz       +64 06 7572881 |      (o o)
| Systems Technician                       +---ooO-(_)-Ooo---+
|                                                            |
| WebFarm                           http://www.webfarm.co.nz |
| FreeParking                   http://www.freeparking.co.nz |
+------------------------------------------------------------+

... FreeParking - NZ's best value Domain, WebHosting and email accounts - bar none 
... WebFarm - NZ's eCommerce specialists since 1997 




Jack M wrote:

>You are right Jamie. However, Nagiosmap doesent seem
>to get there yet. See my earlier query below:
>
>
>--- Jack M wrote:
>
>  
>
>>Date: Wed, 1 Sep 2004 07:27:19 -0700 (PDT)
>>From: Jack M 
>>Subject: [Nagios-users] Nagiosmap Woes
>>To: Nagios-users at lists.sourceforge.net
>>
>>Hi,
>>
>>I am trying to get nagios to work for me but in
>>vain.
>>I only need the english version but all attempts to
>>call PERL NAGIOSMAP.PL returns the following errors.
>>Please let me know what I may or may not be missing.
>>It only opens the hosts.cfg and hostextinfo.cfg ,
>>then
>>it hangs. What am I doing wrong then?
>>
>>NB: I have installed all the Perl modules as listed
>>on
>>the nagiosmap.pl header
>>
>>
>>
>>    
>>
>........................ERRORS>>>>>>>>>>>>>>>>>>>>>>>
>  
>
>>PV = 0x8702410 "couldn't recognize data in image
>>file
>>\"\264\20p\10\1\""\0Malformed UTF-8 character
>>formed UTF-8 character (unexpected non-continuation
>>byte 0xc3, immediately after
>> start byte 0xc0) in subroutine entry at
>>/usr/lib/perl5/vendor_perl/5.8.2/i386-l
>>inux/Tk/Image.pm line 21.
>> [UTF8 "couldn't recognize data in image file
>>"\x{0}o\x{8}\x{1}""]
>>  CUR = 45
>>  LEN = 46
>>SV = PVMG(0x84fe7b8) at 0x86eebc8
>>  REFCNT = 1
>>  FLAGS = (SMG,POK,pPOK,UTF8)
>>  IV = 0
>>  NV = 0
>>  PV = 0x870d2e8 "couldn't recognize data in image
>>file \"\300\303o\10\1\""\0Mal
>>formed UTF-8 character (unexpected non-continuation
>>byte 0xc3, immediately after
>> start byte 0xc0) in subroutine entry at
>>/usr/lib/perl5/vendor_perl/5.8.2/i386-l
>>inux/Tk/Image.pm line 21.
>> [UTF8 "couldn't recognize data in image file
>>"\x{0}o\x{8}\x{1}""]
>>  CUR = 45
>>  LEN = 46
>>  MAGIC = 0x870d3c8
>>    MG_VIRTUAL = &PL_vtbl_utf8
>>    MG_TYPE = PERL_MAGIC_utf8(w)
>>    MG_LEN = 44
>>Tk::Error: couldn't recognize data in image file
>>"??"
>>at /usr/lib/perl5/vendor_p
>>erl/5.8.2/i386-linux/Tk/Image.pm line 21.
>> Tk callback for image
>> Tk::Image::new at
>>
>>    
>>
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm
>  
>
>>line
>>21
>> Tk::Image::__ANON__ at
>>
>>    
>>
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm
>  
>
>>line 63
>> main::create_objects at nagiosmap.pl line 569
>> main::read_nscgi at nagiosmap.pl line 530
>> main::open_dialog at nagiosmap.pl line 326
>> Tk callback for .frame.menubutton.menu
>> Tk::__ANON__ at
>>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk.pm
>>line
>>247
>> Tk::Menu::Invoke at
>>
>>    
>>
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Menu.pm
>  
>
>>line
>> 531
>> <ButtonRelease>
>> (command bound to event)
>>
>> 	
>>    
>>
>
>
>--- Jamie Baddeley <jamie.baddeley at vpc.co.nz> wrote:
>
>  
>
>>./nagiosmap.pl + patience young jedi
>>
>>:-)
>>
>>jamie
>>
>>On Thu, 2004-09-02 at 19:14, HENSHAW Brad wrote:
>>    
>>
>>>Does anyone have a strategy or scripts to make the
>>>      
>>>
>>statusmap usable
>>    
>>
>>>for a largeish (200+) number of hosts? As I don't
>>>      
>>>
>>have a lot of time
>>    
>>
>>>I'm loathe to hack statusmap.cgi but might do so
>>>      
>>>
>>if I have to.
>>    
>>
>>>There is something to be said for having a pretty
>>>      
>>>
>>map which fits on
>>    
>>
>>>screen to show the less technically inclined in an
>>>      
>>>
>>attempt to justify
>>    
>>
>>>hours ssh'd into my nagios box!
>>>
>>>Regards,
>>>Brad
>>>
>>>
>>>
>>>      
>>>
>______________________________________________________________________
>  
>
>>>This e-mail message has been scanned for Viruses
>>>      
>>>
>>and Content and
>>    
>>
>>>cleared by MailMarshal - For more information
>>>      
>>>
>>please visit
>>    
>>
>>>www.marshalsoftware.com 
>>>
>>>      
>>>
>______________________________________________________________________
>  
>
>>>      
>>>
>______________________________________________________________________
>  
>
>>>Attention: 
>>>This electronic message and any attachments are
>>>      
>>>
>>supplied in good
>>    
>>
>>>faith. 
>>>QBuild accepts no responsibility for the damage or
>>>      
>>>
>>loss which may
>>    
>>
>>>occur 
>>>through the use or transmission of this message
>>>      
>>>
>>and attachments.
>>    
>>
>>>The contents of this electronic message and any
>>>      
>>>
>>attachments are
>>    
>>
>>>intended
>>>only for the addressee and may contain privileged
>>>      
>>>
>>or confidential
>>    
>>
>>>information. 
>>>If you are not the addressee, you are notified
>>>      
>>>
>>that any transmission,
>>    
>>
>>>distribution, downloading, printing or
>>>      
>>>
>>photocopying of the contents of
>>    
>>
>>>this message or attachments is strictly
>>>      
>>>
>>prohibited. The privilege of
>>    
>>
>>>confidentiality attached to this message and
>>>      
>>>
>>attachments is not
>>    
>>
>>>waived, lost or destroyed by reason of mistaken
>>>      
>>>
>>delivery to you. 
>>    
>>
>>>If you receive this message in error please notify
>>>      
>>>
>>the sender by
>>    
>>
>>>return e-mail or telephone. 
>>>
>>>      
>>>
>______________________________________________________________________
>  
>
>>
>>    
>>
>-------------------------------------------------------
>  
>
>>This SF.Net email is sponsored by BEA Weblogic
>>Workshop
>>FREE Java Enterprise J2EE developer tools!
>>Get your free copy of BEA WebLogic Workshop 8.1
>>today.
>>
>>    
>>
>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>  
>
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>
>>    
>>
>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
>>
>>    
>>
>
>
>
>		
>_______________________________
>Do you Yahoo!?
>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>http://promotions.yahoo.com/goldrush
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list