NAgios Setup errors
rvelez
rvelez at sunguruz.com
Sat Jan 4 00:01:37 CET 2003
Yes I do have it installed, I will give it a shot, Thanks so much Jim.
Regards,
-Radames
-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
Sent: Friday, January 03, 2003 5:58 PM
To: rvelez; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NAgios Setup errors
Do you have libpng12.so.0 installed?
If so, you need to add the following to httpd.conf:
SetENV LD_LIBRARY_PATH /usr/local/lib
(assuming you have libpng12.so.0 installed there, of course).
Don't forget to restart Apache.
jc
> -----Original Message-----
> From: rvelez [mailto:rvelez at sunguruz.com]
> Sent: Friday, January 03, 2003 4:50 PM
> To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] NAgios Setup errors
>
>
> Nothing still get the same errors, I am going to try to recompile and
> try doing the configs over, one thing that is strange the Reporting
> aspect is working but I get these errors in apache log:
>
> [Fri Jan 3 17:20:53 2003] [error] [client 192.168.0.3]
> Premature end of
> script headers: /usr/local/nagios/sbin/histogram.cgi
> ld.so.1: trends.cgi: fatal: libpng12.so.0: open failed: No
> such file or
> directory
>
> any idea?
>
> Thanks for your help
>
> Regards
>
> -Radames
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> Of Carroll,
> Jim P [Contractor]
> Sent: Friday, January 03, 2003 12:14 PM
> To: rvelez; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] NAgios Setup errors
>
> This is a bit speculative, so if you find a better answer, go
> with that.
> Here are a couple things to try:
>
> 1) Check the hostgroup definition paragraph for hidden/special
> characters. (In vi, ":set list".)
>
> 2) Try simplifying the hostname to one without dots (just as an
> experiment) in both the hosts.cfg and hostgroups.cfg files.
>
> Restart nagios and see if that's any different.
>
> jc
>
> > -----Original Message-----
> > From: rvelez [mailto:rvelez at sunguruz.com]
> > Sent: Friday, January 03, 2003 10:07 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] NAgios Setup errors
> >
> >
> > Hi Guys,
> >
> > So I got nagios installed fine and started doing some
> > configs. When i
> > run /usr/local/nagios/bin/nagios -d
> > /usr/local/nagios/etc/nagios.cfg I get
> > this error:
> >
> > Reading configuration data...
> >
> > Error: Could not find host 'nsmx1.sunguruz.com'
> >
> > Error: Could not expand member hosts specified in hostgroup
> > (config file
> > '/usr/local/nagios/etc/hostgroups.cfg', line 21)
> >
> > In my hostgroups.cfg i have:
> >
> > # 'sun-servers' host group definition
> > define hostgroup{
> > hostgroup_name sun
> > alias Sun-Servers
> > contact_groups SystemAdmins
> > members nsmx1.sunguruz.com
> > }
> >
> > It says I have an error on line 21, but line 21 is the define
> > hostgroup{
> > piece of it. Here is my hosts.cfg:
> >
> > # 'sun-servers' host definition
> > define host{
> > host_name nsmx1.sugnuruz.com
> > alias nsmx1 Sun Servers
> > address 192.168.0.2
> > check_command check-host-alive
> > max_check_attempts 5
> > notification_interval 60
> > notification_period 24x7
> > notification_options d,u,r
> > }
> >
> > IS thier somthing I am missing? Thanks for your help
> >
> > -Radames
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list