Re: [Nagios-users] NRPE in AIX5L...?
Have tired many a time to get nrpe running on aix but never have had a smooth experience. Aix n HpUX have always been issues to get up and running on. We ended up writing our own plugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris. Is there a plugin roadmap on the risc front?. TrevorOn 7/14/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Sorry, should have done my research first but I discovered this in the archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting:/usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?we get/usr/local/nagios/libexec/check_nrpe -H cairnsNRPE v1.9as expected? On 7/14/06, Alexander Harvey <[EMAIL PROTECTED] > wrote: Hi,I found some more information:The following message gets written to syslog:/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32. /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment: /* DECRYPT REQUEST **/ /* check the crc 32 value */ packet_crc32=ntohl(pkt->crc32_value); pkt->crc32_value=0L; calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); if(packet_crc32!=calculated_crc32){ syslog(LOG_ERR,"Error: Request packet had invalid CRC32."); return ERROR; }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,Alex On 7/13/06, Alexander Harvey <[EMAIL PROTECTED] > wrote: Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88 (Aside: why's the logging going to " mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe 5666/tcp # NRPE# grep nrpe /etc/inetd.confnrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: : ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list Nagios-users@lists.sourceforge.nethttps://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-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/l
Re: [Nagios-users] NRPE in AIX5L...?
Sorry, should have done my research first but I discovered this in the archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting:/usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?we get/usr/local/nagios/libexec/check_nrpe -H cairnsNRPE v1.9as expected?On 7/14/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Hi,I found some more information:The following message gets written to syslog:/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32. /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment: /* DECRYPT REQUEST **/ /* check the crc 32 value */ packet_crc32=ntohl(pkt->crc32_value); pkt->crc32_value=0L; calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); if(packet_crc32!=calculated_crc32){ syslog(LOG_ERR,"Error: Request packet had invalid CRC32."); return ERROR; }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,Alex On 7/13/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88(Aside: why's the logging going to " mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe 5666/tcp # NRPE# grep nrpe /etc/inetd.confnrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: : ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] NRPE in AIX5L...?
Hi,I found some more information:The following message gets written to syslog:/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32./var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment: /* DECRYPT REQUEST **/ /* check the crc 32 value */ packet_crc32=ntohl(pkt->crc32_value); pkt->crc32_value=0L; calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); if(packet_crc32!=calculated_crc32){ syslog(LOG_ERR,"Error: Request packet had invalid CRC32."); return ERROR; }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,AlexOn 7/13/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88(Aside: why's the logging going to " mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe 5666/tcp # NRPE# grep nrpe /etc/inetd.confnrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: : ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
check_procs will only check for processes on the local machine. Use the -h option to see all the parameters you can give it to check for different things. You will probably want to use NRPE to run the check_procs plugin on the remote server (this is how we do it here) check_nrpe -H 172.2.23.1 -c check_procs -a syslog-ng 1 1024 and then in the nrpe.cfg on the remote machine command[check_procs]=/usr/local/nrpe/check_procs -w "1:$ARG2$" -c "1:$ARG3$" -C "$ARG1$" Steve From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RadhikaSent: Friday, 14 July 2006 4:49 a.m.To: Morris, Patrick; nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] syslog-ng process monitor plugin thanks for your mail.I have checked the check_procs plugin but it is not giving the option of monitoring remote host i may be wrong ./check_procs -H 172.2.23.1 -w 1:1 -c 1:1024 -C syslog-ng I am getting error ./check_procs: invalid option -- H If i remove -H and ipaddress it is checking in local machine How to fix this now thanksnew Yahoo! Mail Beta. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Problems with config-file, I think.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij > Sent: Thursday, July 13, 2006 3:53 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Problems with config-file, I think. > > On Thu, 13 Jul 2006, Alexander Davidsen wrote: > > > Hi, > > I have installed nagios via ports in FreeBSD, and configured it to work > > with my network. But when i do nagios -v nagios.cfg i get a kind of > > wired error: "Error in configuration file > > '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" > > On line 20 I have: > > define timeperiod{ > > timeperiod_name 24x7 > > alias 24 Hours A Day, 7 Days A Week > > sunday 00:00-24:00 > > monday 00:00-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday00:00-24:00 > > friday 00:00-24:00 > > saturday00:00-24:00 > > } > > If i comment out this I just get the same error on the next section. > > What can be wrong? I have attached my config file. > > And just what do you have above? Is there an illegal character that > slipped in there somewhow? Actually, it's the fact that he appears to have the timeperiod definition in nagios.cfg itself. Nagios.cfg is special in that it can only contain directives that control the overall operation of nagios. You'll need to move any template definitions such as the timeperiod definition above into a different file and reference that as a cfg_file within nagios.cfg. http://nagios.sourceforge.net/docs/2_0/configmain.html -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Reporting Transactions
> Does anyone have any recommendations for using Nagios to > consume or plug in something that can test end user > experience and report transaction steps to Nagios? I would > need this to test drilling down into web sites and Win32 apps. > Kinda like a transaction testing solution like Rational Robot. Short answer - yes. Webinject. It's a free tool with Nagios *and* MRTG support, and we use it here for several sites. It's a bit awkward to configure but it supports cookies and session IDs. We also wrote one on-site that worked slightly differently, but ended up using webinject instead. If you have lots of these->$ then you can also get some commercial tools like SiteScope that can send alerts to Nagios via NSCA (can call an external script that calls send_nsca). SiteScope is easier to configure, but costs a lot and only runs under Windows. Steve - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Reporting Transactions
Does anyone have any recommendations for using Nagios to consume or plug in something that can test end user experience and report transaction steps to Nagios? I would need this to test drilling down into web sites and Win32 apps. Kinda like a transaction testing solution like Rational Robot. Thanks! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Problems with config-file, I think.
On Thu, 13 Jul 2006, Alexander Davidsen wrote: > Hi, > I have installed nagios via ports in FreeBSD, and configured it to work > with my network. But when i do nagios -v nagios.cfg i get a kind of > wired error: "Error in configuration file > '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" > On line 20 I have: > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday00:00-24:00 > friday 00:00-24:00 > saturday00:00-24:00 > } > If i comment out this I just get the same error on the next section. > What can be wrong? I have attached my config file. And just what do you have above? Is there an illegal character that slipped in there somewhow? I would slide in a space before the curly bracket like: define timeperiod { timeperiod_name 24x7 alias Always sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } And just to humour me. Could you remove the comment line with an unmatched single quote sign ? And try without spaces in the alias definition. At least get rid of the comma as is is a common delimiter. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Jason Ellmers is out of the office.
I will be Out of the Office Start Date: 13/07/2006. End Date: 24/07/2006. Please be aware that I will be out of the office until Monday the 24th July. Please contact the helpdesk on 08702415500 it technical assistance is required. ** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ** - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] statusmap.cgi to indicate muliple services
You will need to create a check-host-alive command based on check_cluster. Configure check_cluster to key off the 3 services you desire. Keep in mind doing what you want to do will break parent/child relationships and host "availability" monitoring. > -Original Message- > From: Ben Vinger [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 13, 2006 6:12 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi to indicate muliple services > > > Hello > > How can I get the statusmap to show a host as red (or critical) if one > of the monitored services are critical? > So if: >define host{ > use generic-host > host_name server > alias Web Server > address 1.1.1.1 > check_command check_mysql > check_command check_http > check_command check_ssh > } > then the host should only be shown as up by statusmap.cgi and > status.cgi if all the check_commands return OK? > In the example above, the host will show as up or down depending on > the status of the last service ( check_ssh). > Thanks > Ben > > > -- > --- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] RES: Custom Objects
At this moment I am inclined to use the alias field to place my extra data. I know I will have a weird value on my nagios page, but I won´t be changing any of the nagios default behavior. I would greatly appreciate to have your wrapper, which seems to be the best solution. Thanks in advance -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Chet Luther Enviada em: quinta-feira, 13 de julho de 2006 11:24 Para: nagios-users@lists.sourceforge.net Assunto: Re: [Nagios-users] Custom Objects On 7/12/06, Bruno Nagano <[EMAIL PROTECTED]> wrote: > I would like to know if it is possible to create a custom object in Nagios. > I want to add a couple of fields to the server template, but when I try to > insert a new field, the nagios service will not start. Can I add a text > field to an object template? As you've already been told, Nagios doesn't support this natively. I needed the same functionality so I built a Perl wrapper to allow abitrary metadata to be added to any config file definition like so: define host{ host_name router1a #= snmp_community public } The whole config gets serialized into a Perl cache whenever Nagios is reloaded and all of my scripts (notification/service checks) have access to this additional data. If you're comfortable with Perl and interested, I can send you the code. -- Chet Luther [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
* Radhika <[EMAIL PROTECTED]> [2006-07-13 09:49]: > I have checked the check_procs plugin but it is not giving the option > of monitoring remote host i may be wrong You could install check_procs on the remote host and use NRPE, NSCA or simply the check_by_ssh plugin. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
> thanks for your mail.I have checked the check_procs > plugin but it is not giving the option of monitoring > remote host i may be wrong If you need it on a remote host, look at nsca, check_procs_via_snmp, check_by_ssh, nagios-statd... There are probably other ways to do it, too. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
thanks for your mail.I have checked the check_procs plugin but it is not giving the option of monitoring remote host i may be wrong ./check_procs -H 172.2.23.1 -w 1:1 -c 1:1024 -C syslog-ng I am getting error ./check_procs: invalid option -- H If i remove -H and ipaddress it is checking in local machine How to fix this now thanks"Morris, Patrick" <[EMAIL PROTECTED]> wrote: > I am looking for syslog-ng process monitor plugin > recently syslog-ng process stopped on my server > for 1day i haven't noticed this.So if any one is > having check syslog-ng is running or not plugin > for nagios.check_procs-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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!? Get on board. You're invited to try the new Yahoo! Mail Beta. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
> I am looking for syslog-ng process monitor plugin > recently syslog-ng process stopped on my server > for 1day i haven't noticed this.So if any one is > having check syslog-ng is running or not plugin > for nagios. check_procs - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] syslog-ng process monitor plugin
Hi Guys, I am looking for syslog-ng process monitor plugin recently syslog-ng process stopped on my server for 1day i haven't noticed this.So if any one is having check syslog-ng is running or not plugin for nagios. I really need this plugin Thanks for your help How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Template inheritance questions
I have a couple of questions about inheritance:1. Is it possible to inhetit from more than one template?define service{ ... use ping-service-template use dev-group} 2. is it possible to append to, rather than override, a parameter? For example, is there a way to make the example below result in contact_groups equalling db-admins and server-admins?define host{ contact_groups db-admins name db-host-template register 0}define host{ ... contact_groups server-admins use db-host-template}Thanks for your help.Shawn K. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Custom Objects
On 7/12/06, Bruno Nagano <[EMAIL PROTECTED]> wrote: > I would like to know if it is possible to create a custom object in Nagios. > I want to add a couple of fields to the server template, but when I try to > insert a new field, the nagios service will not start. Can I add a text > field to an object template? As you've already been told, Nagios doesn't support this natively. I needed the same functionality so I built a Perl wrapper to allow abitrary metadata to be added to any config file definition like so: define host{ host_name router1a #= snmp_community public } The whole config gets serialized into a Perl cache whenever Nagios is reloaded and all of my scripts (notification/service checks) have access to this additional data. If you're comfortable with Perl and interested, I can send you the code. -- Chet Luther [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] statusmap.cgi to indicate muliple services
Ben Vinger a écrit : > Hello > > How can I get the statusmap to show a host as red (or critical) if one > of the monitored services are critical? > So if: >define host{ > use generic-host > host_name server > alias Web Server > address 1.1.1.1 > check_command check_mysql > check_command check_http > check_command check_ssh > } > then the host should only be shown as up by statusmap.cgi and > status.cgi if all the check_commands return OK? > In the example above, the host will show as up or down depending on > the status of the last service ( check_ssh). > Thanks > Ben > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > 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 Hi, I'm not sure we can add more than one check command on a host. So, maybe, it take the last one... Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net Site: http://www.free-4ever.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] statusmap.cgi to indicate muliple services
Hello How can I get the statusmap to show a host as red (or critical) if one of the monitored services are critical? So if: define host{ use generic-host host_name server alias Web Server address 1.1.1.1 check_command check_mysql check_command check_http check_command check_ssh } then the host should only be shown as up by statusmap.cgi and status.cgi if all the check_commands return OK? In the example above, the host will show as up or down depending on the status of the last service ( check_ssh). Thanks Ben - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] NRPE in AIX5L...?
Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88(Aside: why's the logging going to "mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe 5666/tcp # NRPE# grep nrpe /etc/inetd.confnrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: : ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] check_snmp_cisco_ifstatus plugin
Nagios users, I am having difficulty with the following plugin: /check_snmp_cisco_ifstatus -H 10.1.1.6 -C public -i BRI0 -w 393216 -c 466944 The error is (even though the interface is up): Status is CRITICAL - INTERFACE DOWN: BRI0 (PPP) - Current: 0 bps, Limit: 64 Kbps, MTU: 1500, Last change: 14.16 seconds, STATS:(in errors: 0, out errors: 0, queue length: 0) Any help would be greatly appreciated Nagios V2.4 Regards, Mark Duffy Tees, Esk And Wear Valleys NHS Trust Flatts Lane Centre Flatts Lane Normanby Middlesbrough TS6 0SZ Tel: 01642 283941 This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] jabber plugin returning critical when server up
On 05/07/06, Hari Sekhon <[EMAIL PROTECTED]> wrote: > I'm trying to use the jabber plug-in but the service is returning > critical even though the service is up and I can log in and use it. > > /usr/nagios/libexec/check_jabber -H servername > CRITICAL - Cannot make SSL connection 19034:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601: > > > I don't get it, the server isn't using SSL, so perhaps this is why it > fails, but shouldn't you be able to test it when running without an SSL > connection? Gaim finds the port and connects fine... > > > the --help mentions that the flag -S makes it use an SSL connection but > I never put this flag in, so it should be using a normal connection, > shouldn't it? When I put the -S flag in it returns the same as above. > > Jabber is using the default ports of 5222 for the straight tcp > connection without ssl, and 5269 for the server connection and both > ports are currently bound correctly and the service is working. > > > > Any ideas? > > Is the check_jabber plug-in broken? > > -h > The check_jabber plugin appears to be broken, it's linked to check_tcp but it tries to use SSL which fails since my server isn't using SSL, despite jabber being up and working. So I wrote a checkcommand for jabber with the standard check_tcp plugin. Does anybody have a better way of testing jabber? Perhaps a decent plugin or a command line tool that I can wrap in a shell script or something? -h - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Using SNMP as an alternative to NRPE
On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote: > Hi! > > ( And he made a lot of good points... ) All very good points Tobias... Generally speaking... In our case they won't steer us away from using the SNMP daemon, but in another situation it's a whole different kettle of fish... And yes, we'll pay close mind to our security settings... Thanks for the reminder :) Cheers! Thomas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Using SNMP as an alternative to NRPE
Hi! On Thu, 13 Jul 2006, Thomas Sluyter wrote: > Why is it that we insist on using NRPE for this? Of course it's very > practical that there's such a thing as the NRPE daemon and the > check_nrpe command. It does indeed make things easier for a lot of > people who lack deep technical insight. Yet it's a step away from the KISS principle. > But what is to keep the expert users from using the SNMP daemon for > this practice? SNMP *can* be a security nightmare. Problem is that the protocoll allows *writing* to the machine, i.e. config changes. The danger in an unsecured NRPE is much lower: it's less complex to configure and if we assume woth the SNMPd and NRPE have no security problems in their code, a slightly wrong config can allow an attacker to compromise an SNMP machine. That's nigh impossible on an NRPE machine. Also, NRPE config is much less complex and that of an SNMPd. > There's a bunch of factors that have pushed us away from NRPE and > towards SNMP: > * The SNMP daemon is installed by default on all of our systems. > AFAIK it's also part of the default install of just about every OS > installation (with the possible exception of Windows). It isn't installed on *any* of the >1k machines I herd. Not by active choice. It simply isn't installed because we don't need it. It's not part of the default install of the Distros and OSs we use. > * We are currently already using the SNMP daemon to gather > performance info for MRTG and we will be using the SNMP daemon to > send traps to Nagios. That is an entirely different story. I can understand that people use SNMPds on host machines because SNMP is the way to go for Ciscos or other network equipment. But we're quite happy with the way NRPE and NagiosGrapher work together with RRDTool. Our network guys (who run a nationwide backbone and thus have their own monitoring solution) use SNMP for their stuff. > * Not using NRPE means one less configuration file to maintain, one > less port to open up in firewalls and one less binary to patch and > upgrade. Not for use: SNMP isn't a "it's there anyway" resource. Hence, we opted for the smaller, less complex solution, NRPE. > Do any of you know of any practical objections to using SNMP as a > substitute for NRPE? It might be that we're missing something here, > but to us it looks like a very good choice. Complexity. Both in daemon code and configuration. And that the SNMP protocol spec allows for writing to a host. Regards, Tobias -- You don't need eyes to see, you need vision. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Using SNMP as an alternative to NRPE
Hi all, For the new Nagios roll-out I'm working on at my current client I've run into an interesting dispute. The matter concerns the running of remote scripts, to check all kinds of stuff on Nagios client systems. Why is it that we insist on using NRPE for this? Of course it's very practical that there's such a thing as the NRPE daemon and the check_nrpe command. It does indeed make things easier for a lot of people who lack deep technical insight. But what is to keep the expert users from using the SNMP daemon for this practice? There's a bunch of factors that have pushed us away from NRPE and towards SNMP: * The SNMP daemon is installed by default on all of our systems. AFAIK it's also part of the default install of just about every OS installation (with the possible exception of Windows). * We are currently already using the SNMP daemon to gather performance info for MRTG and we will be using the SNMP daemon to send traps to Nagios. * The SNMP daemon can be configured quite easily to run the requisite script and binaries. These will be tied to a custom OID and can thus be read using some form of check_snmp. * Not using NRPE means one less configuration file to maintain, one less port to open up in firewalls and one less binary to patch and upgrade. Do any of you know of any practical objections to using SNMP as a substitute for NRPE? It might be that we're missing something here, but to us it looks like a very good choice. Cheers! Thomas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] check_hsrp?
define command{ command_namecheck-hsrp command_line$USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C $ARG1$ -o SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.$ARG2$ -s 'IpAddress: $ARG3$' } check-hsrp!community!1.1! Do a snmpwalk on SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13 and cross reference with your routers to work it out. - Giles Coochey (gilesc) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Problems with config-file, I think.
Thomas Sluyter wrote: > On 13 Jul, 2006, at 9:20, Alexander Davidsen wrote: > > >> If i comment out this I just get the same error on the next section. >> What can be wrong? I have attached my config file. >> > > Sounds like maybe you forgot a closing bracket somewhere... > > Check your syntax closely... > > > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > 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 > Dosent look like im missing any brackets either. Any other ideas? -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gj?vik - NORWAY E-Post: [EMAIL PROTECTED] Webside: www.webdealhosting.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Problems with config-file, I think.
Just comment all lines of default config and create your new config lines.i will work. Thanks & regards ** Vinay Sharma I I S Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : [EMAIL PROTECTED] Alexander Davidsen <[EMAIL PROTECTED]> 宛先: nagios-users@lists.sourceforge.net 送信者:cc: [EMAIL PROTECTED]件名: [Nagios-users] Problems with config-file, I think. ceforge.net 2006/07/13 16:20 Hi, I have installed nagios via ports in FreeBSD, and configured it to work with my network. But when i do nagios -v nagios.cfg i get a kind of wired error: "Error in configuration file '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" On line 20 I have: define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } If i comment out this I just get the same error on the next section. What can be wrong? I have attached my config file. -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gjøvik - NORWAY E-Post: [EMAIL PROTECTED] Webside: www.webdealhosting.com # Sample object config file for Nagios # # Read the documentation for more information on this configuration file. I've # provided some comments here, but things may not be so clear without further # explanation, so make sure to read the HTML documentation! # # Last Modified: 05-30-2006 # # TIMEPERIOD DEFINITIONS # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday00:00-24:00 monday00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday00:00-24:00 saturday 00:00-24:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday00:00-24:00 monday00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday00:00-09:00,17:00-24:00 saturd
Re: [Nagios-users] Problems with config-file, I think.
On 13 Jul, 2006, at 9:20, Alexander Davidsen wrote: > If i comment out this I just get the same error on the next section. > What can be wrong? I have attached my config file. Sounds like maybe you forgot a closing bracket somewhere... Check your syntax closely... - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Passive check clearing automatically
Phil Manuel a écrit : > Thanks earlier for answering my scheduler issue. > > My next one is:- > > Result from Passive service check comes in, the status is set and then > ~40 secs later the state goes to pending. No external results are seen > in nagios.log. The state is then sent again and the action is then > repeated. > > Is this a bug with status.cgi or a setting I have set incorrectly? > > Thanks > > > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > ___ > 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 Hi, Maybe, you've send a passive result on time for each service, but if you set the retry of this service to 3 for example, the service in SOFT error state, and if there is no "confirmation" the service is in error state, it will automatically come back to normal state !! So maybe, it's a soft/hard state problem Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net Site: http://www.free-4ever.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Problems with config-file, I think.
Hi, I have installed nagios via ports in FreeBSD, and configured it to work with my network. But when i do nagios -v nagios.cfg i get a kind of wired error: "Error in configuration file '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" On line 20 I have: define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } If i comment out this I just get the same error on the next section. What can be wrong? I have attached my config file. -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gjøvik - NORWAY E-Post: [EMAIL PROTECTED] Webside: www.webdealhosting.com # Sample object config file for Nagios # # Read the documentation for more information on this configuration file. I've # provided some comments here, but things may not be so clear without further # explanation, so make sure to read the HTML documentation! # # Last Modified: 05-30-2006 # # TIMEPERIOD DEFINITIONS # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } # CONTACT DEFINITIONS # 'nagios' contact definition define contact{ contact_nameteknisk alias tknisk service_notification_period 24x7 host_notification_period24x7 service_notification_optionsw,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email [EMAIL PROTECTED] pager [EMAIL PROTECTED] } # 'jdoe' contact definition define contact{ contact_nameqalex alias Alexander Davidsen service_notification_period workhours host_notification_periodworkhours service_notification_optionsc,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email [EMAIL PROTECTED] } # CONTACT GROUP DEFINITIONS # 'novell-admins' contact group definition define contactgroup{ contactgroup_name webdeal-teknisk alias Webdeal Admins members qalex } # HOST DEFINITIONS define host{ host_name srv105.fo.no alias SRV105 address 192.32.33.98 check_command check-host-alive max_check_attempts 1