Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Thanks Gerald, We understand Nagios needs reading... will do as advised. :-) anth. -Original Message- From: Ortner, Gerald [mailto:gerald.ort...@gespag.at] Sent: 28 September 2010 17:21 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! You've configured a service check not the host check: http://nagios.sourceforge.net/docs/3_0/hostchecks.html http://nagios.sourceforge.net/docs/3_0/servicechecks.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host I would recommend to read the manual first, to get a basic knowledge of how Nagios works. -Ursprüngliche Nachricht- Von: IT Toonz [mailto:it.to...@gmail.com] Gesendet: Dienstag, 28. September 2010 12:58 An: 'Nagios Users List' Betreff: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! Its a linux Server. We used check_ftp and it returns up, this value was used to show FTP server as up, instead of ping, but still showing as DOWN!! Is there any other way to show FTP server as UP from some other values status? -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: 28 September 2010 15:47 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -Original Message- > From: Pete Dewell [mailto:p...@stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > ---
Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Thank you Bram... Rectified the mistake.. now it OK. J Thanks to all... J From: Bram Gillemon [mailto:b...@openminds.be] Sent: 28 September 2010 16:44 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! You'll have to search for something like this define host{ use generic-om-host ; Name of host template to use namegeneric-server check_command check-host-alive register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } The check command that is defined here is what mathers. On 28 Sep 2010, at 12:23, IT Toonz wrote: Please see the config file below, for host alive check we are using check_ftp service. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Service check shows UP! But overall Nagios says ftp server is down! Can't figure out why it is so? From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 28 September 2010 14:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! On 28/09/10 09:52, IT Toonz wrote: Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. >From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Its a linux Server. We used check_ftp and it returns up, this value was used to show FTP server as up, instead of ping, but still showing as DOWN!! Is there any other way to show FTP server as UP from some other values status? -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: 28 September 2010 15:47 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -Original Message- > From: Pete Dewell [mailto:p...@stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > > -- >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> > http://p.sf.net/sfu/novell-sfdev2dev > ___ >>> Nagios-users mailing list >>> Nagios-users@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 >> >> >> >> >> > > -- >> Start uncovering the many advantages of virtual appliances &g
Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Please see the config file below, for host alive check we are using check_ftp service. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Service check shows UP! But overall Nagios says ftp server is down! Can't figure out why it is so? From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 28 September 2010 14:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! On 28/09/10 09:52, IT Toonz wrote: Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. >From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Check_command is set to check_ftp and that is shown as UP, can't figure out why Nagios is showing ftp server as DOWN!! Please see the configuration file below. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } To which service check can we change to, so that Nagios doesn't show an UP server as DOWN. Regards Anth. -Original Message- From: Pete Dewell [mailto:p...@stuff-done.co.uk] Sent: 28 September 2010 14:49 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The host up/down status will be defined by the check_command in the host definition. What is this set to ? I would guess that it's been set to check something that the host doesn't repond to. P On 28/09/2010 09:16, Bram Gillemon wrote: > Does the server reply to ping checks? > > As far as i know the server show "up" if the server reply's to pings. > > Kr, > Bram Gillemon > > On 28 Sep 2010, at 08:30, IT Toonz wrote: > >> 2 queries >> >> Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. >> >> What is telling Nagios, FTP srv is down? Please advice. >> >> >> >> # Define a service to check host alive the remote machine >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Check FTP Service >> check_command check_ftp! >> } >> >> Please see the below config, we want to see the free disk space in home directory. But seems it's not working >> >> >> # Define a service to check the disk space of the home partition >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Home Partition >> check_command check_local_disk!20%!10%!/home >> } >> >> >> >> We are using FAN 2.0 NagiosR 3.0.6 >> >> Thanks and regards >> Anth. >> >> >> -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev ___ >> Nagios-users mailing list >> Nagios-users@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 > > > > > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > ___ > Nagios-users mailing list > Nagios-users@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 -- Pete Dewell | Stuff Done p...@stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users ma
Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!
Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. From: Bram Gillemon [mailto:b...@openminds.be] Sent: 28 September 2010 13:46 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! Does the server reply to ping checks? As far as i know the server show "up" if the server reply's to pings. Kr, Bram Gillemon On 28 Sep 2010, at 08:30, IT Toonz wrote: 2 queries Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. What is telling Nagios, FTP srv is down? Please advice. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Please see the below config, we want to see the free disk space in home directory. But seems it's not working # Define a service to check the disk space of the home partition define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Home Partition check_command check_local_disk!20%!10%!/home } We are using FAN 2.0 NagiosR 3.0.6 Thanks and regards Anth. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Available Plugins?
Got it, command.cfg entry was wrong. Thanks for all the help!! -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 27 September 2010 15:06 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? On 27/09/10 10:15, IT Toonz wrote: > How to see the available plugins? > > We want to know if check_mailq is installed. > > Please advice. > > We are using FAN 2.0 NagiosR 3.0.6 > > Regards > Anth :-) > > > usual method is to look in the libexec directory of the nagios installation ( most ofthen installed in /usr/local/nagios/ ) another way is to use the "locate " command - i.e do " locate chack_mailq". -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Available Plugins?
Got it, command.cfg entry was wrong. Thanks for all the help!! From: Andrew McIntyre [mailto:andrew.mcint...@uk.enersys.com] Sent: 27 September 2010 15:02 To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? Anth Browse to the directory /usr/local/nagios/libexec Assuming you installed nagios in the default directory. Andy "IT Toonz" 27/09/2010 10:27 Please respond to Nagios Users List To , cc Subject [Nagios-users] Available Plugins? How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. <http://p.sf.net/sfu/novell-sfdev2dev> http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/nagios-users> 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 email and any attachments are confidential and the property of EnerSys Ltd. If you receive this email in error it must not be disclosed, copied or distributed in any way. In the event of it being sent to you in error please notify us immediately. EnerSys Ltd Registered in England. Company No. 731261 Registered Office: 21 St Thomas Street, Bristol, BS1 6JS. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Available Plugins?
Hi Andrew, Thanks for the reply.. Both the folders are empty, we are trying Fully Automated Nagios 2.0, so we don't the path of many, we are just strting out in Nagios, and very much hooked!!! /usr/local/libexec /usr/local/nagios/libexec We could get the plugin in these paths, by running locate command suggested by Assaf. /usr/lib/nagios/plugins/check_smtp /var/www/dokuwiki/data/pages/plugins/check_smtp.txt But we still getting the error Mailq CRITICAL(Return code of 127 is out of bounds - plugin may be missing) Please advice Anth. From: Andrew McIntyre [mailto:andrew.mcint...@uk.enersys.com] Sent: 27 September 2010 15:02 To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? Anth Browse to the directory /usr/local/nagios/libexec Assuming you installed nagios in the default directory. Andy "IT Toonz" 27/09/2010 10:27 Please respond to Nagios Users List To , cc Subject [Nagios-users] Available Plugins? How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. <http://p.sf.net/sfu/novell-sfdev2dev> http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/nagios-users> 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 email and any attachments are confidential and the property of EnerSys Ltd. If you receive this email in error it must not be disclosed, copied or distributed in any way. In the event of it being sent to you in error please notify us immediately. EnerSys Ltd Registered in England. Company No. 731261 Registered Office: 21 St Thomas Street, Bristol, BS1 6JS. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Available Plugins?
Hi Assaf, Thanks for the reply, We tried and we get this... [r...@nagios nagios]# locate check_mailq /usr/lib/nagios/plugins/check_mailq /var/www/dokuwiki/data/pages/plugins/check_mailq.txt And the error is Mailq CRITICAL(Return code of 127 is out of bounds - plugin may be missing) What could be causing this? In the commands.cfg file we have ... # Check mailq in mail server define command { command_namecheck_mailq command_linecheck_mailq!-M qmail -w 500 -c 1000 -t 7 } Please advice. Regards Anth. -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 27 September 2010 15:06 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? On 27/09/10 10:15, IT Toonz wrote: > How to see the available plugins? > > We want to know if check_mailq is installed. > > Please advice. > > We are using FAN 2.0 NagiosR 3.0.6 > > Regards > Anth :-) > > > usual method is to look in the libexec directory of the nagios installation ( most ofthen installed in /usr/local/nagios/ ) another way is to use the "locate " command - i.e do " locate chack_mailq". -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Available Plugins?
How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Monitoring Disk Space in remote linux FTP server
Hi All, We have a Linux based FTP server at our ISP location, we want to monitor its free space. Server OS is Red Hat Enterprise Linux ES release 4 (Nahant), is it possible without installing anything on the server. We are using FAN 2.0 NagiosR 3.0.6 Regards Ananth. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Define Services
/usr/local/nagios/libexec/ Folder is empty! Please advice. From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 16 September 2010 16:06 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Define Services On 16/09/10 11:14, IT Toonz wrote: There is only 4 default service defined in FAN 2.0 PING, Uptime, SNMP and Bandwidth usage. Where can we find details of possible services which can be monitored? Regards Ananth. The beauty of nagios is that you can monitor anything you can think of - and write the plugin for it . but to get you started on some ideas of what can be monitored , check the libexec directory of the nagios installation , that may give you some indication of existing plugins and things to monitor how to implement them .. well . i'd start here http://nagios.sourceforge.net/docs/3_0/quickstart.html -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Define Services
There is only 4 default service defined in FAN 2.0 PING, Uptime, SNMP and Bandwidth usage. Where can we find details of possible services which can be monitored? Regards Ananth. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] SNMP showing Unknown
Thanks Justin, Will update as soon as we get through! Regards Ananth. From: Dorfman, Justin [mailto:jus...@mahalo.com] Sent: 13 September 2010 20:27 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this : Code: rocommunity public Here is an example of ours: syslocation LAX disk /var 5% disk /usr 5% disk /tmp 5% load 30 30 30 syscontact em...@domain.com rwcommunity sdjslf8sdf8 192.168.0.0/24 rocommunity public You then need to restart NET-SNMP for the changes to apply. Good little tutorial: http://forums.cacti.net/about26151.html Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops <http://twitter.com/MahaloSysops> | Blog: http://bit.ly/aNiWSk On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz wrote: Hi Justin, Thanks for the reply. We downloaded net-snmp.exe and installed in a monitored window server. Didn't modify anything, tried to start net-snmp service from the windows system, stopped at event id 7031! Checking again Downloaded and installed the perl scripts... is there anything to modify... Please advice. Regards Ananth. From: Dorfman, Justin [mailto:jus...@mahalo.com] Sent: 10 September 2010 20:06 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown Ananth, This is how we check an SNMP process (in commands.cfg): # 'check_snmp' command definition define command{ command_namecheck_snmp_process command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $USER3$ } I would recommend you downloading these perl scripts: http://nagios.manubulon.com/index_snmp.html and putting them into your /usr/local/nagios/libexec folder. Let me know how it goes. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops <http://twitter.com/MahaloSysops> | Blog: http://bit.ly/aNiWSk On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail * Nagios * Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000 } Please advicewhat else is there to configure, please be specific, we just started in Fully
Re: [Nagios-users] SNMP showing Unknown
Hi Justin, Thanks for the reply. We downloaded net-snmp.exe and installed in a monitored window server. Didn't modify anything, tried to start net-snmp service from the windows system, stopped at event id 7031! Checking again Downloaded and installed the perl scripts... is there anything to modify... Please advice. Regards Ananth. From: Dorfman, Justin [mailto:jus...@mahalo.com] Sent: 10 September 2010 20:06 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown Ananth, This is how we check an SNMP process (in commands.cfg): # 'check_snmp' command definition define command{ command_namecheck_snmp_process command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $USER3$ } I would recommend you downloading these perl scripts: http://nagios.manubulon.com/index_snmp.html and putting them into your /usr/local/nagios/libexec folder. Let me know how it goes. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops <http://twitter.com/MahaloSysops> | Blog: http://bit.ly/aNiWSk On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail * Nagios * Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000 } Please advicewhat else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far J Regards Ananth. From: Dorfman, Justin [mailto:jus...@mahalo.com] Sent: 08 September 2010 22:59 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown First off do you have NET-SNMP (http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina ries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops <http://twitter.com/MahaloSysops> | Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. W
Re: [Nagios-users] SNMP showing Unknown
Thanks Marc, checking out what your said. -Original Message- From: Marc Powell [mailto:li...@xodus.org] Sent: 09 September 2010 17:42 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On Sep 9, 2010, at 4:36 AM, IT Toonz wrote: > below is the config settings for windows servers > > # Create a service for monitoring SNMP > > define service{ > use generic-service > host_name taipl-domsrv > host_name tai3dserver > host_name tai3dstorage-02 > host_name tai3d-avsrv > service_description SNMP > check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000 > } > > Please advicewhat else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far J > > define command{ > > command_namecheck_snmp > > command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } Based on the check_command that you have above, the command_line you've told nagios to run is -- /check_snmp -H .1.3.6.1.2.1.25.1.3.1.6.2 As you can see, this is far from complete or formatted properly. I'm not sure what the parameters you are trying to pass are but way you have the command_line set up requires that you pass them as part of the check_command like so -- define service { ... check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C -l Cachebuffers -(... whatever other paramenters you are trying to pass to check_snmp) You probably want to read the documentation on using arguments in commands, specifically the $ARGx$ macros and check_snmp documenation (man check_snmp) to fully understand why what you tried didn't work. -- Marc -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Nagios-users mailing list Nagios-users@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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] SNMP showing Unknown
Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail * Nagios * Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000 } Please advicewhat else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far J Regards Ananth. From: Dorfman, Justin [mailto:jus...@mahalo.com] Sent: 08 September 2010 22:59 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown First off do you have NET-SNMP (http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina ries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops <http://twitter.com/MahaloSysops> | Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_namecheck_snmp > > command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim --
Re: [Nagios-users] SNMP showing Unknown
You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_namecheck_snmp > > command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Nagios-users mailing list Nagios-users@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 Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
[Nagios-users] SNMP showing Unknown
We are using FAN 2.0 One of our Windows Servers shows in Nagios. tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs specified How can we troubleshoot it. This is the snmp entry in commands.cfg file. # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } We entered the snmp community name give the switch -C after check_snmp, but still no effect. Please advice. Regards Ananth. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] can't login to centreon
Hi Gerald, [r...@nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 45494 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -h 192.168.3.241 -> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -> Nothing happens...we just get the prompt... L Even verification also, it just returns the command. Please advice. Regards Ananth. From: Ortner, Gerald [mailto:gerald.ort...@gespag.at] Sent: 03 September 2010 11:14 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi, AFAIK the first one wont’ work because every string after the hash (#) symbol is treated as comment. Correct me if I’m wrong For mysql prompt use: update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; If the update was successful the output should look like this: Query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0 The latter one won’t work if there is no contact with an alias like root… For command line use: echo “update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2” To verify if the update was successful, you can issue following command: Mysql prompt: select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%' CLI: echo “select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%'” | mysql -u root -p centreon2” You don’t need the –h option if you are working on locally on the server Gerald Von: IT Toonz [mailto:it.to...@gmail.com] Gesendet: Freitag, 03. September 2010 06:00 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Kyle, Still not working L This is how we tried, please let us know if we made any mistakes. >From the prompt. [r...@nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this [r...@nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can’t login L We might have to reinstall and configure everthing Please advice... Regards Ananth. -Original Message- From: Kyle Bader [mailto:kyle.ba...@gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is “root” we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _
Re: [Nagios-users] can't login to centreon
Hi Kyle, Still not working L This is how we tried, please let us know if we made any mistakes. >From the prompt. [r...@nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this [r...@nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can’t login L We might have to reinstall and configure everthing Please advice... Regards Ananth. -Original Message- From: Kyle Bader [mailto:kyle.ba...@gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is “root” we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Nagios-users mailing list Nagios-users@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 Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] can't login to centreon
Hi Kyle, Thanks for the continued support... Please look at the centreon.conf.php file... seems user is "root" we tried root and all passwords which we could think of... Still not able to login. Please advice. Regards Ananth. /* Database */ $conf_centreon['hostCentreon'] = "localhost"; $conf_centreon['hostCentstorage'] = "localhost"; $conf_centreon['user'] = "root"; $conf_centreon['password'] = ""; $conf_centreon['db'] = "centreon2"; $conf_centreon['dbcstg'] = "centreon2_storage"; -Original Message- From: Kyle Bader [mailto:kyle.ba...@gmail.com] Sent: 02 September 2010 00:34 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Can you tell us the path to the file centreon.conf.php I'm going to guess it's under /etc/centreon That's the default installation location for centos, which Fully Automated Nagios is based off of. -- Kyle -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Nagios-users mailing list Nagios-users@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 Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] can't login to centreon
Thanks for the help Kyle. We gave the command by changing to our values, but still we can't login! Can you tell us the path to the file centreon.conf.php L centreon.JPG -Original Message- From: Kyle Bader [mailto:kyle.ba...@gmail.com] Sent: 01 September 2010 19:11 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi Ananth, > we can login to Nagios web interface using the above credentials!! Centreon uses the centreon database for authentication, so that makes sense. > Kindly let us know if there are any workarounds. Romaine did.. = Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". = This resets the password hash in the centreon database back to the default, if your unsure of the db user/name/ip then you need to locate your centreon.conf.php and refresh your memory :) -- Kyle -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Nagios-users mailing list Nagios-users@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 Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] can't login to centreon
We are using Fully Automated Nagios 2.0. We used to login to Centreon using user name nagiosadmin and password nagiosadmin But recently we can't login to Centreon using the above credentials, we get error, invalid user. We believe we haven't changed anything, and we can login to Nagios web interface using the above credentials!! Please advice. We cannot monitor any devices without adding them in Centreon!! Kindly let us know if there are any workarounds. Regards Ananth. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!!
Hi Romain, Sorry for the late reply, we had some unexpected holidays!! Can you please explain in detail, we can't make head or tail from your advice, sorry, we are just starting on Nagios! Thanks for the help. Regards Ananth. From: Romain Le Merlus [mailto:rlemer...@merethis.com] Sent: 20 August 2010 17:42 To: Nagios Users List Subject: Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!! Hi Ananth, Let's init the "centreonadmin" password. Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". -- Romain LE MERLUS -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!!
Thank you Romain, we will check this and let you know as soon as possible. Regards Ananth. From: Romain Le Merlus [mailto:rlemer...@merethis.com] Sent: 20 August 2010 17:42 To: Nagios Users List Subject: Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!! Hi Ananth, Let's init the "centreonadmin" password. Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". -- Romain LE MERLUS -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!!
Tried centreoadmin and admin, with the same as password didn't work!! We used to login using nagiosadminwonder how it changed!! We are newbie's so kindly explain in detail... Regards Ananth. -Original Message- From: Matthew J. Salerno [mailto:vagabond_k...@yahoo.com] Sent: 20 August 2010 16:52 To: Nagios Users List; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!! Try just admin "Carlos de Santa-Ana Garcia" wrote: > Hi, > > >The admin user for centreon is centreonadmin, not nagiosadmin. > > >You can conect to centreon database and make a select of the users in >your centreon and you can make an update to change the password if need it. > > > >Greets. > >--- --- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev >___ >Nagios-users mailing list >Nagios-users@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 -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!!
Have posted in Centreon forum, waiting for any help!! -Original Message- From: Max [mailto:perld...@webwizarddesign.com] Sent: 20 August 2010 08:51 To: Nagios Users List Subject: Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!! On Thu, Aug 19, 2010 at 10:41 PM, Toonz IT wrote: > We can login to Nagios using user name nagiosadmin and password nagiosadmin. > But Centreon returns Invalid User! > > We are using FAN 2.0 What did the users / developers on the Centreon / FAN mailing list say about this? They might be able to help. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@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