[icinga-users] Icinga down and file does not exist:/var/www/icinga

Michael Friedrich michael.friedrich at gmail.com
Sat Feb 23 12:57:56 CET 2013


On 23.02.2013 09:36, Khaja Aziz wrote:
>
>
> Hello Team,
>
>
> I want to bring an important point to ur kind notice.As ur aware that 
> we monitor icinga tool to our surprise its going down.Another point is 
> that we are configure16 server.But icinga web is showing 6 server and 
> its working fine.but its has  to show 16 server.
> As per Urs advise i have checked /bin/mail path are not exist  .please 
> have look on issue and advise me how to approach this issue
> when im going to install send mail showing following error is
> The following packages have unmet dependencies:
>  libsendmail-pmilter-perl : Conflicts: libsendmail-milter-perl but 
> 0.18-7+b3 is to be installed
> E: Broken packages
>
> This are some information which help u to understand our environment
>
> OS Debian x86_64 GNU/Linux.6.0
> Icinga Version: 1.0.2-2
>   icinga-idoutils : Version: 1.0.2-2
> Version icinga-web/v1.7.0 and rdbms MySQL

icinga web 1.7.0 is not compatible with icinga 1.0.2 (which is the old 
debian version and may be replaced by backports or debmon packages).

>
>
> /var/log/icinga/icinga.log in that log file we are see this error..only
>
> [1361257793] Warning: Attempting to execute the command 
> "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: 
> PROBLEM\n\nService: load\nHost: Dev West App1\nAddress: 
> ec2-50-112-23-231.us-west-2.compute.amazonaws.com\nState: 
> UNKNOWN\n\nDate/Time: Tue Feb 19 07:09:53 UTC 2013\n\nAdditional 
> Info:\n\nNRPE: Unable to read output\n" | /bin/mail -s "** PROBLEM 
> Service Alert: Dev West App1/load is UNKNOWN **" noc at evergent.com -- 
> -f noc at evergent.com" resulted in a return code of 127.  Make sure the 
> script or binary you are trying to execute actually exists...
>
> Even im seen some package got deinstall
> dbconfig-common                    deinstall
> icinga-cgi                                deinstall
> icinga-idoutils                         deinstall
> libdbi0                                     deinstall
> libgd2-noxpm                         deinstall
> libfreetype6                           deinstall
>
> /var/log/apache2/error.log
>
> [Fri Feb 22 04:38:41 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 04:38:42 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/favicon.ico
> [Fri Feb 22 04:38:42 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/favicon.ico
> [Fri Feb 22 10:50:22 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 11:51:00 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 11:52:49 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 13:36:44 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 15:09:34 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
> [Fri Feb 22 15:49:57 2013] [error] [client 183.82.1.148] File does not 
> exist: /var/www/icinga
>
> icinga -v /etc/icinga/icinga.cfg returns
> 0 errors 0 warnings
>
> icinga process is running
>  ps aux | grep icinga
> nagios    7535  0.0  0.1  34476  1952 ?        SNsl 06:33   0:03 
> /usr/sbin/icinga -d /etc/icinga/icinga.cfg
> nagios   11281  0.0  0.0  34480  1288 ?        SN   08:19   0:00 
> /usr/sbin/icinga -d /etc/icinga/icinga.cfg
> root     11291  0.0  0.0   6028   676 pts/2    S+   08:19   0:00 grep 
> icinga
> /usr/sbin/icinga -d /etc/icinga/icinga.cfg
>
>
> ------------------------------------------------------------------------
> *From:* Michael Friedrich <michael.friedrich at gmail.com>
> *To:* icinga-users at lists.sourceforge.net
> *Sent:* Tuesday, February 5, 2013 5:30 PM
> *Subject:* Re: [icinga-users] Fw: Email NOtification
>
> On 05.02.2013 09:03, Khaja Aziz wrote:
> > HI guys
> >
> > icinga server down it seem when im try to restart icinga service the
> > following error show in icinga.log
> >
> > Make sure the script or binary you are trying to execute actually
> > exists...error we are getting icinga log.
>
> there are 3 valid answers to your question. why don't you follow them
> and try to fix your problem instead of repeating your question?
>
>
> >
> > when we are browse icinga urls . An error is display
> > > Not found
> > > the request URL/icinga/was not found on this server.
>
> as remarked in a different thread, this is a different problem.
>
> please provide all the information i already demanded previously
> (versions, configs, etc).
>
>
> >
> > kindly suggest me on tthis issue
> >
> >
> >
> > ----- Forwarded Message -----
> > *From:* Marko Vainiokangas <marko.vainiokangas at atea.se 
> <mailto:marko.vainiokangas at atea.se>>
> > *To:* "icinga-users at lists.sourceforge.net 
> <mailto:icinga-users at lists.sourceforge.net>"
> > <icinga-users at lists.sourceforge.net 
> <mailto:icinga-users at lists.sourceforge.net>>
> > *Cc:* "khaja_aziz_uddin at yahoo.com 
> <mailto:khaja_aziz_uddin at yahoo.com>" <khaja_aziz_uddin at yahoo.com 
> <mailto:khaja_aziz_uddin at yahoo.com>>
> > *Sent:* Tuesday, February 5, 2013 12:13 PM
> > *Subject:* RE: [icinga-users] Email NOtification
> >
> > > Hi Team
> >
> > > when i restart the server .currently we are faceing this issue
> > suggest some advise on this
> >
> > > 1360039193] Warning: Attempting to execute the command
> > "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification
> > > Type: PROBLEM\n\nService: load\nHost: Dev West App1\nAddress:
> > > ec2-50-112-23-231.us-west-2.compute.amazonaws.com\nState:
> > UNKNOWN\n\nDate/Time:
> > > Tue Feb 5 04:39:53 UTC 2013\n\nAdditional Info:\n\nNRPE: Unable to
> > read output\n"
> > > | /bin/mail -s "** PROBLEM Service Alert: Dev West App1/load is 
> UNKNOWN
> > > **" noc at evergent.com <mailto:noc at evergent.com> 
> <mailto:noc at evergent.com <mailto:noc at evergent.com>> -- -f 
> noc at evergent.com <mailto:noc at evergent.com>
> > <mailto:noc at evergent.com <mailto:noc at evergent.com>>" resulted in a 
> return code of 127.? Make sure
> > the script or binary you are trying to execute actually exists...
> >
> > As it says, make sure that /bin/mail exists or it cannot pipe the mail
> > to that application. Not everyone has that particular mail client
> > installed. Some use sendmail, others qmail, etc. etc..
> >
> > Configure a mail client for icinga to use to send out notifications and
> > modify the command.cfg accordingly, to suit the formating that console
> > application can handle.
> >
> > Marko Vainiokangas
> >
> >
> >
> >
> >
> > 
> ------------------------------------------------------------------------------
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> >
> >
> >
> > _______________________________________________
> > icinga-users mailing list
> > icinga-users at lists.sourceforge.net 
> <mailto:icinga-users at lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
> -- 
> DI (FH) Michael Friedrich
>
> mail: michael.friedrich at gmail.com <mailto:michael.friedrich at gmail.com>
> twitter: https://twitter.com/dnsmichi
> jabber: dnsmichi at jabber.ccc.de <mailto:dnsmichi at jabber.ccc.de>
> irc: irc.freenode.net/icinga <http://irc.freenode.net/icinga> dnsmichi
>
> icinga open source monitoring
> position: lead core developer
> url: https://www.icinga.org <https://www.icinga.org/>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net 
> <mailto:icinga-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

mail:     michael.friedrich at gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmichi at jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org





More information about the icinga-users mailing list