Re: [Nagios-users] nagios service check latency
On 25/04/07, James [EMAIL PROTECTED] wrote: Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... host checks as in they happen regularly and almost instantly without latency Now my service checks used to be REALLY high latency but i removed unnecessary active checks on certain services. However my service checks for my clusters are still latent by about 5 minutes. Is there anyway to reduce this or just say that a certain service check should have zero latency? IMO, the no. 1 easy thing you can do to reduce latency if you haven't done so already is to replace your check_ping checks with check_icmp or check_fping . You want to make sure that any checks you have take as little time to run as possible. hth, Jim - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] upgrade Nagios
Hi! I´m working with my nagios 2.7 and i´ve to upgrade to version 3. What i´ve to do to preserve my services? Is it enougth if i copy urs folder in the new version of Nagios? Someone has done this? thank you.- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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_ping
Hi Guys, Having some issues with check_ping, get the following error. [EMAIL PROTECTED] ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 CRITICAL - You need more args!!! could not open pipe: Any one know what might be wrong ? Regards, Kyle Vorster - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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_ping
Try to re-compile the plugins without ipv6 support. See: http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004152.html chiel - Original Message - From: Kyle Vorster [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Thursday, April 26, 2007 9:21 AM Subject: [Nagios-users] check_ping Hi Guys, Having some issues with check_ping, get the following error. [EMAIL PROTECTED] ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 CRITICAL - You need more args!!! could not open pipe: Any one know what might be wrong ? Regards, Kyle Vorster - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Create mesh network in status map
hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? chiel- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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_ping
Hi It´s a bug in nagios-plugin 1.4.8 Fix with vi the config.h in the nagios-plugin.1.4.8/ Search for #define PING_COMMAND and Change it to #define PING_COMMAND /bin/ping -t %u -c %u %s Works fine Cheers /Jörg -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För [EMAIL PROTECTED] Skickat: den 26 april 2007 09:21 Till: nagios-users@lists.sourceforge.net Ämne: [Nagios-users] check_ping Hi Guys, Having some issues with check_ping, get the following error. [EMAIL PROTECTED] ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 CRITICAL - You need more args!!! could not open pipe: Any one know what might be wrong ? Regards, Kyle Vorster - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.9/773 - Release Date: 2007-04-22 20:18 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.9/773 - Release Date: 2007-04-22 20:18 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Plugin for HP Proliant Hardware Health Monitoring
[EMAIL PROTECTED] wrote: I have been reading this check_hpasm thread and looked at some of the documentation which seems to suggest the plugin is used for monitoring HP proliant hardware that is only running a linux system. Does anyone know of any tweaks or similar plugins that can get the same sort of information from Proliant servers running Windows. Or a plugin that can take the data gleamed from Insight Manager and display it into Nagios. Well, I wrote something like this some years ago, mainly to check fans and temperature. I posted it to the mailing-list and I uploaded the plugins to sourceforge. That was in January 2005. They are in the contrib directory in the nagiosplugins source distribution. You should get hold of an InsightManager CD and copy the MIBs to the directory where your SNMP-client stores MIBs. Then you can use a SNMP-browser (like mbrowse on Unix-systems) to access the MIBs and get an idea of what you should be looking at. Please note that these plugins are very crude - there's probably a more elegant way to access all these MIBs and automate some of the hardcoded stuff in there... cheers, Rainer - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios service check latency
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of James Sent: Wednesday, April 25, 2007 5:59 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... host checks as in they happen regularly and almost instantly without latency Now my service checks used to be REALLY high latency but i removed unnecessary active checks on certain services. However my service checks for my clusters are still latent by about 5 minutes. Is there anyway to reduce this or just say that a certain service check should have zero latency? That is a really high latency and seems to imply either that you're starving nagios for resources or you're doing lots of host checks. How many hosts/services are you checking on what kind of hardware? Have you looked at the performance tuning documentation? For a benchmark, I have machines doing just over a thousand service checks every 5 minutes (mostly check_fping) with a max latency of under 5 seconds and average latency of 0.638 seconds at the moment. There's no way to tell nagios that certain service checks have a higher priority over others outside of normal_check_interval/retry_check_interval. The scheduler just automagically figures out what to do based on your config. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios service check latency
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Morris, Patrick Sent: Wednesday, April 25, 2007 10:16 PM To: James; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... host checks as in they happen regularly and almost instantly without latency Now my service checks used to be REALLY high latency but i removed unnecessary active checks on certain services. However my service checks for my clusters are still latent by about 5 minutes. Is there anyway to reduce this or just say that a certain service check should have zero latency? Latency is the amount of time it takes a check to run. If there were a Actually, that's check execution time. Check latency is the time between the scheduled time a check is supposed to run and when nagios is actually able to run it. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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_hpjd timeout issues
Nagios 3.0a2 Plugins 1.4.8 We just set up monitoring on our HP printers, just one to start and test, and the service is timing out. The printer responds to a normal ping, but not the Nagios ping. Community name and hostname are set correctly. Will setting the snmp version work on the command with the -v swich in command_line of the command definition file? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. attachment: image001.jpg - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] error compiling nrpe 2.7 on HP-Ux
Hi all. I have compiled (and using) nrpe 1.9 on my Hp-Ux 11.0, but now I need to istall nrpe 2.7 too. No problem on a linux system, but on the Hp-Ux I received following error message at the end of command configure: *** Generating DH Parameters for SSL/TLS *** warning, not much extra random data, consider using the -rand option Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time 22432:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:503:You need to read the OpenSSl 22432:error:05068003:Diffie-Hellman routines:DH_generate_parameters:BN lib:dh_gen.c:154: checking for Kerberos include files... could not find include files checking for perl... /opt/perl/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating subst config.status: creating include/config.h config.status: include/config.h is unchanged Any idea? Marco Borsani Technical Operation tel.:+390104310115 e-fax: +390683175950 * [EMAIL PROTECTED] ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio è vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al più presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italys new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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_hpjd timeout issues
Valdinger, Stephen (DOV, MSX) wrote: Nagios 3.0a2 Plugins 1.4.8 We just set up monitoring on our HP printers, just one to start and test, and the service is timing out. The printer responds to a normal ping, but not the Nagios ping. Community name and hostname are set correctly. Will setting the snmp version work on the command with the -v swich in command_line of the command definition file? Different HP printers use different versions of snmp. snmp uses version 3 by default. Try snmpwalk against the printer and figure out the snmp version it uses, then update your command definition accordingly. Good Luck /Lars Stavholm - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Create mesh network in status map
chiel wrote: hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? I guess you'll have to treat them all as independent hosts, all at the same level. Jo - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Create mesh network in status map
And how can I make a relation between them that way? because I have also normal hosts that I monitor that are not part of this mesh. chiel - Original Message - From: Jo [EMAIL PROTECTED] To: chiel [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Sent: Thursday, April 26, 2007 3:19 PM Subject: Re: [Nagios-users] Create mesh network in status map chiel wrote: hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? I guess you'll have to treat them all as independent hosts, all at the same level. Jo - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Create mesh network in status map
Might be a stretch here but why not use a hostdependency group and only alert when x amount off servers don't respond? Description: Host dependencies are an advanced feature of Nagios that allow you to suppress notifications for hosts based on the status of one or more other hosts. Host dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups. More information on how host dependencies work (read this!) can be found here. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostdependency I might be barking up the wrong dog here, but I think that would do it for you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chiel Sent: 26 April 2007 14:23 Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Create mesh network in status map And how can I make a relation between them that way? because I have also normal hosts that I monitor that are not part of this mesh. chiel - Original Message - From: Jo [EMAIL PROTECTED] To: chiel [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Sent: Thursday, April 26, 2007 3:19 PM Subject: Re: [Nagios-users] Create mesh network in status map chiel wrote: hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? I guess you'll have to treat them all as independent hosts, all at the same level. Jo - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Nagiosgraph: RRDs doesn't generate a new database
I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the rrddir is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl $LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$ } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=PING icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [EMAIL PROTECTED] nagios]# pwd /var/adm/logs/nagios [EMAIL PROTECTED] nagios]# ls -alR .: total 1212 drwxrwxrwx3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r--1 nagios nagios238 Apr 25 14:04 comments.dat -rw-rw-r--1 nagios nagios239 Apr 25 14:04 downtime.dat -rwxrwxr-x1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r--1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r--1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw---1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x2 nagios nagios 4096 Apr 25 15:06 rrd -rw-r--r--1 nagios nagios1179322 Apr 26 09:48 service-perfdata -rw-rw-r--1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx3 root root 4096 Apr 26 09:48 .. Help!! Nick P The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagiosgraph: RRDs doesn't generate a new database
Having just been through this, LOLcommented below: Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietrangelo, Nicholas Sent: Thursday, April 26, 2007 9:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph: RRDs doesn't generate a new database I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the rrddir is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata -- not supposed to be defined, comment this out as you define the service_perfdata_file_processing_command below service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg shouldn't matter tho I have read mixed reviews I have the path to perl before the insert.pl and you can remove the $LASTSERCIVE Its already defined in the service template define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl $LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$ } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=PING -- try notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=$SERVICEDESC$geom=900x300 icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log -- define this the same as above in the nagios.cfg (i.e. service_perfdata_file=/var/adm/logs/nagios/service-perfdata ) stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [EMAIL PROTECTED] nagios]# pwd /var/adm/logs/nagios [EMAIL PROTECTED] nagios]# ls -alR .: total 1212 drwxrwxrwx3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r--1 nagios nagios238 Apr 25 14:04 comments.dat -rw-rw-r--1 nagios nagios239 Apr 25 14:04 downtime.dat -rwxrwxr-x1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r--1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r--1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw---1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x2 nagios nagios 4096 Apr 25 15:06 rrd -- might want to make this 0775 rather than 0755 though either SHOULD work -rw-r--r--1 nagios nagios1179322 Apr 26 09:48 service-perfdata -rw-rw-r--1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx3 root root 4096 Apr 26 09:48 .. Make those few changes, stop and restart nagios and take a look at the perfdata file you defined above to see if data is getting dumped there and check the nagiosgraph.log The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error,
Re: [Nagios-users] Questions about Status Map
OK, so this is starting to make some sense to me. The reason my status map looks like crap is because every host and service I own has the nagios server as its parent. So now I'm trying to use traceroute to determine the network topology which leads me to my next question. I've seen the nagios docs that talk about determining host reachability. It shows distinct routers and switches with (presumably) a single IP. How do people represent routers/switches that have different IPs depending on the network their on? I mean, yes, it is technically one physical piece of hardware, but it's separate interfaces. So for example --- | Nagios Server | --- | 1.2.3.4 | 1.2.3.1 | - |Router | - 4.5.6.1 | | | 4.5.6.7 - |Host A | - Technically, 1.2.3.1 and 4.5.6.1 both are IPs for the same router. In theory, pinging 1.2.3.1 indicates that the box is up. However, it doesn't guarantee that the interface to Host A's network is up. As I see it you could either ignore one or the other of the interfaces on the way to Host A, or you could pretend that each IP on the switch is a separate host. So Host A has a parent of 4.5.6.1 which has a parent of 1.2.3.1. I would imagine that this method (multiple host definitions for a single router box) is the best way. How do most people handle this kind of thing? thanks Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Avery Sent: Wednesday, April 25, 2007 1:47 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map On 25/04/07, Frost, Mark {PBG} [EMAIL PROTECTED] wrote: Thanks, Jim. I tried out Nexsm last night and found that it gave me a huge, unordered picture of all my hosts. You need the parent relationships for Nexsm to work, and with that many hosts you may need to spend a little while dragging hosts around to make the map look meaningful. Once you've dragged the hosts to where you want them you should be able to save the Nexsm map. Without those parent relationships defined it's pretty pointless! Perhaps I don't fully understand the parent relationship stuff. That's most for routers and switches which we don't monitor (nor really care about) -- that's for other teams that are completely disassociated with ours. Even if they're not your responsibility it's worth putting routers in to your Nagios configuration. You don't need to do anything more with them than ping them to make sure they're alive. It helps in making sense of your map and greatly helps in ensuring that Nagios won't send you dozens of alerts when a single router or lan/wan link goes down. My understanding is that you setup parent relationships between host entitities (including switches and routers) and for what we monitor, there are none. Put the routers in and there will be. The parent relationships are all about what nodes are in-between your Nagios system and the host you are monitoring. I don't have responsibility for routers - I still ping them from Nagios but have Nagios configured so that it won't alert for routers 'down' - only hosts. I'll have a look at nagiosmap. By all means do, but again if you don't have some parent relationships defined, your 350 hosts will all appear to be connected to the one parent like the petals of a daisy. Cheers, Jim - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Ping and RTA
What is RTA? Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple devices increases dramatically and then returns immediately to normal operational/baseline levels. Any thoughts on what could be the root cause of such a consistent occurrence? Would this be symptomatic of a broadcast storm? Could Spanning Tree be the root cause? What is the most simplistic way to determine the root cause? See examples below: * Nagios * Notification Type: PROBLEM Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: CRITICAL Date/Time: Wed Apr 25 22:16:35 CDT 2007 Additional Info: PING CRITICAL - Packet loss = 0%, RTA = 2131.27 ms * Nagios * Notification Type: RECOVERY Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: OK Date/Time: Wed Apr 25 22:20:57 CDT 2007 Additional Info: PING OK - Packet loss = 0%, RTA = 1.25 ms __ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Ping and RTA
Round Trip Average - Congestion on your network is normally root cause. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 26 April 2007 16:39 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Ping and RTA What is RTA? Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple devices increases dramatically and then returns immediately to normal operational/baseline levels. Any thoughts on what could be the root cause of such a consistent occurrence? Would this be symptomatic of a broadcast storm? Could Spanning Tree be the root cause? What is the most simplistic way to determine the root cause? See examples below: * Nagios * Notification Type: PROBLEM Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: CRITICAL Date/Time: Wed Apr 25 22:16:35 CDT 2007 Additional Info: PING CRITICAL - Packet loss = 0%, RTA = 2131.27 ms * Nagios * Notification Type: RECOVERY Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: OK Date/Time: Wed Apr 25 22:20:57 CDT 2007 Additional Info: PING OK - Packet loss = 0%, RTA = 1.25 ms __ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Questions about Status Map
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frost, Mark {PBG} Sent: Thursday, April 26, 2007 8:31 AM To: Jim Avery; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map OK, so this is starting to make some sense to me. The reason my status map looks like crap is because every host and service I own has the nagios server as its parent. Parent/child relationships are important, and not just to make your statusmap look pretty. Also keep in mind that once the parent/child relationships are added to Nagios, your statusmap may not look the way you expect it to (if p/c relationships are done correctly). The statusmap represents the network from Nagios' point of view, not as you might draw it in Visio or some other application. So now I'm trying to use traceroute to determine the network topology which leads me to my next question. I've seen the nagios docs that talk about determining host reachability. It shows distinct routers and switches with (presumably) a single IP. How do people represent routers/switches that have different IPs depending on the network their on? I mean, yes, it is technically one physical piece of hardware, but it's separate interfaces. So for example --- | Nagios Server | --- | 1.2.3.4 | 1.2.3.1 | - |Router | - 4.5.6.1 | | | 4.5.6.7 - |Host A | - Technically, 1.2.3.1 and 4.5.6.1 both are IPs for the same router. In theory, pinging 1.2.3.1 indicates that the box is up. However, it doesn't guarantee that the interface to Host A's network is up. I try to never use physical interface IPs to refer to devices. This is what loopback addresses are for. In the case of a switch, it's the Management VLAN IP. If you can't use a loopback for some reason, you'll probably want to use the IP closest to Nagios. That way, if the 'outside' interface on a device goes critical, Nagios won't necessarily report the device as down. As I see it you could either ignore one or the other of the interfaces on the way to Host A, or you could pretend that each IP on the switch is a separate host. So Host A has a parent of 4.5.6.1 which has a parent of 1.2.3.1. I would imagine that this method (multiple host definitions for a single router box) is the best way. How do most people handle this kind of thing? thanks Mark Thanks, Garry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Avery Sent: Wednesday, April 25, 2007 1:47 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map On 25/04/07, Frost, Mark {PBG} [EMAIL PROTECTED] wrote: Thanks, Jim. I tried out Nexsm last night and found that it gave me a huge, unordered picture of all my hosts. You need the parent relationships for Nexsm to work, and with that many hosts you may need to spend a little while dragging hosts around to make the map look meaningful. Once you've dragged the hosts to where you want them you should be able to save the Nexsm map. Without those parent relationships defined it's pretty pointless! Perhaps I don't fully understand the parent relationship stuff. That's most for routers and switches which we don't monitor (nor really care about) -- that's for other teams that are completely disassociated with ours. Even if they're not your responsibility it's worth putting routers in to your Nagios configuration. You don't need to do anything more with them than ping them to make sure they're alive. It helps in making sense of your map and greatly helps in ensuring that Nagios won't send you dozens of alerts when a single router or lan/wan link goes down. My understanding is that you setup parent relationships between host entitities (including switches and routers) and for what we monitor, there are none. Put the routers in and there will be. The parent relationships are all about what nodes are in-between your Nagios system and the host you are monitoring. I don't have responsibility for routers - I still ping them from Nagios but have Nagios configured so that it won't alert for routers 'down' - only hosts. I'll have a look at nagiosmap. By all means do, but again if you don't have some parent relationships defined, your 350 hosts will all appear to be connected to the one parent like the petals of a daisy. Cheers, Jim - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please
Re: [Nagios-users] Ping and RTA
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, April 26, 2007 9:39 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Ping and RTA What is RTA? Round Trip Average. The average time it took to receive a response to your ping packets. Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple devices increases dramatically and then returns immediately to normal operational/baseline levels. Any thoughts on what could be the root cause of such a consistent occurrence? Would this be symptomatic of a broadcast storm? Could Spanning Tree be the root cause? What is the most simplistic way to determine the root cause? Many things could cause it including the ones you mention. Could also be links approaching capacity, high cpu usage on a router or others. I'd start by running mtr from your nagios machine to one of the machines experiencing the problem and examine the devices that showed high round trip times for anomalies. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] RRD Doesn't generate a new DB
I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: [EMAIL PROTECTED]Web: http://www.bayer.co.uk __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __ The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] RRD Doesn't generate a new DB
OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Pietrangelo, Nicholas [EMAIL PROTECTED] 26/04/2007 16:02 To [EMAIL PROTECTED] cc nagios-users@lists.sourceforge.net Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: [EMAIL PROTECTED]Web: http://www.bayer.co.uk __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __ The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] RRD Doesn't generate a new DB
Here's the nagiosgraph.log. Is this good or bad? Thu Apr 26 11:35:17 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 11:35:17 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 11:35:17 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 11:35:17 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 11:35:17 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 11:35:17 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 11:35:17 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 11:35:17 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 11:35:17 2007 INSERT debug: processing perfdata: || Thu Apr 26 11:35:17 2007 INSERT info: Input lastcheck: Thu Apr 26 11:35:17 2007 INSERT info: Input hostname: Thu Apr 26 11:35:17 2007 INSERT info: Input perfdata: Thu Apr 26 11:35:17 2007 INSERT info: Input servicedescr: Thu Apr 26 11:35:17 2007 INSERT info: Input output: Thu Apr 26 11:35:17 2007 INSERT warn: perfdata not recognized Thu Apr 26 11:35:17 2007 INSERT debug: nagiosgraph exited Thu Apr 26 11:35:47 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 11:35:47 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 11:35:47 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 11:35:47 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 11:35:47 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 11:35:47 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 11:35:47 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 11:35:47 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 11:35:47 2007 INSERT debug: processing perfdata: || Thu Apr 26 11:35:47 2007 INSERT info: Input lastcheck: Thu Apr 26 11:35:47 2007 INSERT info: Input hostname: Thu Apr 26 11:35:47 2007 INSERT info: Input perfdata: Thu Apr 26 11:35:47 2007 INSERT info: Input servicedescr: Thu Apr 26 11:35:47 2007 INSERT info: Input output: Thu Apr 26 11:35:47 2007 INSERT warn: perfdata not recognized Thu Apr 26 11:35:47 2007 INSERT debug: nagiosgraph exited -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Pietrangelo, Nicholas [EMAIL PROTECTED] 26/04/2007 16:02 To [EMAIL PROTECTED] cc nagios-users@lists.sourceforge.net Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: [EMAIL PROTECTED]Web: http://www.bayer.co.uk __ Bayer plc is registered in England
Re: [Nagios-users] RRD Doesn't generate a new DB
Is the perflog the same file as the service_perfdata_file? Nagiosgraph.cfg: perflog = /var/adm/logs/nagios/service-perfdata:q! Nagios.cfg: service_perfdata_file=/var/adm/logs/nagios/service-perfdata Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Pietrangelo, Nicholas [EMAIL PROTECTED] 26/04/2007 16:02 To [EMAIL PROTECTED] cc nagios-users@lists.sourceforge.net Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: [EMAIL PROTECTED]Web: http://www.bayer.co.uk __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __ The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. Thank you. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE
Re: [Nagios-users] RRD Doesn't generate a new DB
Bad :-( Perfdata not recognised is usually down to the map file in my experience, unless something screwy is being written to the perfdata.dat. I'm assuming only the PING service is attampting to write performance data, so it may be that another service which you aren't yet concerned with is generating the errors - but I see no successful writes here. Copy it out, edit the copied file and sub it back in when done (good practice for when its working), check and double check your regular expression for PING s perfomance data against what you see appearing in perfdata.dat If thats a direct cut'n'paste though, the perf data of | | | | | is odd, can't say I've seen that - if that's what PING is sticking out as performance data it's strange. Although my perfdata is never empty these days, maybe thats normal if nothing is getting there. ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Regarding statusmap
Hi, I have one problem regarding the statusmap in nagios. I installed all the libraries required such as gdlib, libpng and linjpeg etc. for the working of the statusmap, as it was there in the documentation and some of you has also suggested to do that. After all the installation procedure still my statusmaps was not working. Next day when i started my Fedora again, it boots up but went to the black screen. Nothing is going on after that black screen. Can anyone tell me the solution for it. How can i get my GUI back from the command prompt, which iam entering by switching to the single user mode at the boot time. Thanks and Regards Mukta Sharma M.S Student, Computer Science. The George Washington University - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] RRD Doesn't generate a new DB
Could it be that there isn't any data to add to the rrd? Here is the rrd insert.pl ran manually then nagios runs it automatically. Thu Apr 26 13:12:54 2007 INSERT debug: processing perfdata: 1177603367||localhost||PING||PING OK - Packet loss = 0%, RTA = 0.04 ms|| Thu Apr 26 13:12:54 2007 INSERT info: Input lastcheck:1177603367 Thu Apr 26 13:12:54 2007 INSERT info: Input hostname:localhost Thu Apr 26 13:12:54 2007 INSERT info: Input perfdata: Thu Apr 26 13:12:54 2007 INSERT info: Input servicedescr:PING Thu Apr 26 13:12:54 2007 INSERT info: Input output:PING OK - Packet loss = 0%, RTA = 0.04 ms Thu Apr 26 13:12:54 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd Thu Apr 26 13:12:54 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd 1177603367:0:4e-05 Thu Apr 26 13:12:54 2007 INSERT debug: processing perfdata: 1177607438||localhost||Current Load||OK - load average: 0.04, 0.08, 0.27||load1=0.040;5.000;10.000;0; load5=0.080;4.000;6.000;0; load15=0.270;3.000;4.000;0; Thu Apr 26 13:12:54 2007 INSERT info: Input lastcheck:1177607438 Thu Apr 26 13:12:54 2007 INSERT info: Input hostname:localhost Thu Apr 26 13:12:54 2007 INSERT info: Input perfdata:load1=0.040;5.000;10.000;0; load5=0.080;4.000;6.000;0; load15=0.270;3.000;4.000;0; Thu Apr 26 13:12:54 2007 INSERT info: Input servicedescr:Current Load Thu Apr 26 13:12:54 2007 INSERT info: Input output:OK - load average: 0.04, 0.08, 0.27 Thu Apr 26 13:12:54 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_Current%20Load_load.rrd Thu Apr 26 13:12:54 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_Current%20Load_load.rrd 1177607438:0.04:0.08:0.27 Thu Apr 26 13:12:54 2007 INSERT debug: nagiosgraph exited Thu Apr 26 13:13:10 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 13:13:10 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 13:13:10 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 13:13:10 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 13:13:10 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 13:13:10 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 13:13:10 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 13:13:10 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 13:13:10 2007 INSERT debug: processing perfdata: || Thu Apr 26 13:13:10 2007 INSERT info: Input lastcheck: Thu Apr 26 13:13:10 2007 INSERT info: Input hostname: Thu Apr 26 13:13:10 2007 INSERT info: Input perfdata: Thu Apr 26 13:13:10 2007 INSERT info: Input servicedescr: Thu Apr 26 13:13:10 2007 INSERT info: Input output: Thu Apr 26 13:13:10 2007 INSERT warn: perfdata not recognized Thu Apr 26 13:13:10 2007 INSERT debug: nagiosgraph exited -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:51 AM To: Pietrangelo, Nicholas Subject: RE: RRD Doesn't generate a new DB No, perflog is your perfdata.dat file, where the performance data gets dumped - bit confusing I think.. # Location of performance data file. Comment out it not used. perflog = /usr/local/nagios/var/perfdata.dat .. from my nagiosgraph.conf ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Telephone: +44 1635 563574 e mail: [EMAIL PROTECTED]Web: http://www.bayer.co.uk Pietrangelo, Nicholas [EMAIL PROTECTED] 26/04/2007 16:44 To [EMAIL PROTECTED] cc nagios-users@lists.sourceforge.net Subject RE: RRD Doesn't generate a new DB Is the perflog the same file as the service_perfdata_file? Nagiosgraph.cfg: perflog = /var/adm/logs/nagios/service-perfdata:q! Nagios.cfg: service_perfdata_file=/var/adm/logs/nagios/service-perfdata Nick P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users@lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping #
[Nagios-users] R: PHP parse error in NLG
Hello, sorry for not coming back soon on the issue. I had a forced time off nagios... :-( I solved the problem installing PHP 5.2 as suggested. So thanks for the reply. I have a question about the configuration: I use authentication in nagios web interface, and I use authenticated contacts to give access to only certain hosts/services to users. Example: User johndoe is a contact for server1 and server3 User foobar is a contact for server2 In nagios web interface user johndoe can only access services residing on server1 and server3, while user foobar only sees server2. I expected this to be true for NLG too, but I found that using $ServerFeed_AuthEnabled = 1 and indicating the user/password in the config files, gives user johndoe access to server1, server2, server3. The same apply for user foobar. Am I missing something? Thanks, Carlo Piccini _ Da: Andy Shellam (Mailing Lists) [mailto:[EMAIL PROTECTED] Inviato: domenica 25 febbraio 2007 12.51 A: Carlo Piccini Cc: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] PHP parse error in NLG Hi Carlo, What version of PHP are you running? Line 327 in the code is a comparison of two classes, using the instanceof operator, which was introduced in PHP 5 (http://uk2.php.net/manual/en/language.operators.type.php). It sounds like you have PHP 4, which is not supported by NLG. Andy. Carlo Piccini wrote: Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini !DSPAM:37,45e0cf26925177317654902! _ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV p=sourceforgeCID=DEVDEV !DSPAM:37,45e0cf26925177317654902! _ ___ 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 !DSPAM:37,45e0cf26925177317654902! -- Andy Shellam NetServe Support Team the Mail Network an alternative in a standardised world p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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_hpjd commands
Anyone know of a good place to get the commands for the check_hpjd plugin? I know you can monitor all kinds of things about the printer, but I need a list of the MIB's or whatever else it uses to give me that information. Anything would be appreciated. Thanks Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. attachment: image001.jpg - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Installation help - CentOS 4.4 Server
I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Cheers. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
[EMAIL PROTECTED] wrote: I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Which version of Nagios are you trying to install? -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
Are you running Fedora or Ubuntu? I have a this solution on the forums. You can see it here: http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8517 there is also another bit that may help you out : 3) Post install Configuration of Nagios Edit apache's httpd.conf file. (the location of the httpd.conf file may differ) vim /etc/httpd/conf/httpd.conf Add the following line at the end of the file. Include /etc/httpd/conf/nagios.conf Create the file '/etc/httpd/conf/nagios.conf'. vi /etc/httpd/conf/nagios.conf Add the following contents to this file. - ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory ?/usr/local/nagios/sbin/? AllowOverride AuthConfig Options ExecCGI Allow from all Order allow,deny /Directory Alias /nagios/ /usr/local/nagios/share/ Directory ?/usr/local/nagios/share? Options None AllowOverride AuthConfig Order allow,deny Allow from all /Directory -- Make sure the updations done with http is fine and restart apache. #service httpd restart Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:34 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Installation help - CentOS 4.4 Server I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Cheers. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.7.tar.gz On 4/26/07, Jason Salaz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Which version of Nagios are you trying to install? -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
CentOS 4.4 thanks - I will give those a try. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: Are you running Fedora or Ubuntu? I have a this solution on the forums. You can see it here: http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8517 there is also another bit that may help you out : 3) Post install Configuration of Nagios Edit apache's httpd.conf file. (the location of the httpd.conf file may differ) vim /etc/httpd/conf/httpd.conf Add the following line at the end of the file. Include /etc/httpd/conf/nagios.conf Create the file '/etc/httpd/conf/nagios.conf'. vi /etc/httpd/conf/nagios.conf Add the following contents to this file. - ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory ?/usr/local/nagios/sbin/? AllowOverride AuthConfig Options ExecCGI Allow from all Order allow,deny /Directory Alias /nagios/ /usr/local/nagios/share/ Directory ?/usr/local/nagios/share? Options None AllowOverride AuthConfig Order allow,deny Allow from all /Directory -- Make sure the updations done with http is fine and restart apache. #service httpd restart Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:34 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Installation help - CentOS 4.4 Server I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Cheers. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] 3D status map problem
Hi All, I have a problem with the 3D status map display in Firefox on SuSE Linux 10.2 that I wonder if anyone can help with. I've built and installed the FreeWRL package successfully, and the 3D status map does show up (almost) properly. However, there's a lot of error messages showing up in the Console Display saying: /usr/bin/FreeWRL_Message Could not locate URL for texture (last choice was /nagios/images/logos/imagepak-andrade/this-and-that.png When picking up the aforementioned address in the browser, I can see the image, so there's no access problem. Any ideas? Thankful for any ideas in this area /Lars Stavholm - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Nagios, REL, and Postfix
Ok, I admit it, I'm a bonehead. I migrated from sendmail to postfix. I have several passive checks that run by way of REL. I did not anticipate breaking this functionality, but I have. In the maillog, I have the following entries: Command died with status 13: /usr/local/nagios/bin/smtpreceiver.pl. Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: Permission denied ) The permissions on the pipe are: prw-rw 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd If I change from 0660 to 0666, everything works fine. I realize this is actually a postfix issue, not nagios, but I thought someone on the list might have encountered this problem and have a slick fix close to hand. Thanks for any assistance. Drew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
[EMAIL PROTECTED] wrote: CentOS 4.4 thanks - I will give those a try. Personally, I like installing the packages from the RPMForge/Dag Wieers Yum repository. It's much simpler that way, and I also use CentOS 4.4. % wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm % rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm % yum install nagios nagios-plugins :) -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
We're cooking now ... I can log in - but get a perms error / warning It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: He should update to version 1.4.8 on the plugins for some of the stuff to work in 3.0a2 wget http://sourceforge.net/project/downloading.php?group_id=29880use_mirror =internapfilename=nagios-plugins-1.4.8.tar.gz40722747 Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:41 PM To: Jason Salaz Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 .7.tar.gz On 4/26/07, Jason Salaz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Which version of Nagios are you trying to install? -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Nagios, REL, and Postfix
Change group ownership to nagiocmd prw-rw 1 nagios nagiocmd 0 Apr 25 18:54 /usr/local/nagios/var/rw/nagios.cmd On 4/26/07, Drew Myers [EMAIL PROTECTED] wrote: Ok, I admit it, I'm a bonehead. I migrated from sendmail to postfix. I have several passive checks that run by way of REL. I did not anticipate breaking this functionality, but I have. In the maillog, I have the following entries: Command died with status 13: /usr/local/nagios/bin/smtpreceiver.pl. Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: Permission denied ) The permissions on the pipe are: prw-rw 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd If I change from 0660 to 0666, everything works fine. I realize this is actually a postfix issue, not nagios, but I thought someone on the list might have encountered this problem and have a slick fix close to hand. Thanks for any assistance. Drew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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/nul - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Installation help - CentOS 4.4 Server
Restarted OK.. and Things look okay - No serious problems were detected during the pre-flight check As soon as I click one of the Service Detail link I get the permissions error... On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: Oh, shit, haha, yes you will have to restart the apache server for the change to take effect Also make sure your changes to any config files don't produce and ERRORS, warnings are ok, but errors cause nagios not to function To restart server : service httpd restart check nagios config: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:58 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Sorry, that didn't do it... do I have to restart the server or anything like that? On 4/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks. /usr/sbin/useradd -G nagcmd www-data That did the trick... the install instructions used a different group name. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: /usr/sbin/useradd -G nagioscmd www-data That should give the webserver access if you have not already done so Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:52 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server We're cooking now ... I can log in - but get a perms error / warning It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: He should update to version 1.4.8 on the plugins for some of the stuff to work in 3.0a2 wget http://sourceforge.net/project/downloading.php?group_id=29880use_mirror =internapfilename=nagios-plugins-1.4.8.tar.gz40722747 Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:41 PM To: Jason Salaz Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 .7.tar.gz On 4/26/07, Jason Salaz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have followed the install guide ( http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Which version of Nagios are you trying to install? -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list
Re: [Nagios-users] nagios service check latency
Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Morris, Patrick Sent: Wednesday, April 25, 2007 10:16 PM To: James; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... I'm running about 120 services. My Nagios seemed pretty speedy before until recently i dunno what changes i made to do this but most of them should've been just to add a few services. After i noticed pretty delayed notifications and then some latency i started making changes and it still hasn't changed all that much here's my nagios.cfg tho ###BEGIN CFG# cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/servicegroups.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/meta_commands.cfg cfg_file=/usr/local/nagios/etc/meta_contact.cfg cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg cfg_file=/usr/local/nagios/etc/meta_escalations.cfg cfg_file=/usr/local/nagios/etc/meta_host.cfg cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg cfg_file=/usr/local/nagios/etc/meta_services.cfg cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg resource_file=/usr/local/nagios/etc/resource.cfg log_file=/usr/local/nagios/var/nagios.log object_cache_file=/usr/local/nagios/var/objects.cache temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat p1_file=/usr/local/nagios/bin/p1.pl aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives/ check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=0 log_initial_states=0 sleep_time=0.25 service_inter_check_delay_method=s host_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=55 max_service_check_spread=30 max_host_check_spread=30 service_reaper_frequency=10 interval_length=60 auto_rescheduling_interval=30 auto_rescheduling_window=180 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata check_for_orphaned_services=1 service_freshness_check_interval=60 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^*|'?,()= illegal_macro_output_chars=`~$|' use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios ###END CFG# Here's the service template i'm using: BEGIN SERVICE TEMPLATE ## define service{ namelocal-service service_description local-service use generic-service max_check_attempts 10 normal_check_interval 1 retry_check_interval1 check_period24x7 notification_interval 15 notification_period 24x7 notification_optionsw,c,r notifications_enabled 1 contact_groups admins stalking_optionso register0 } END SERVICE TEMPLATE ## and here's the host template i'm using BEGIN HOST TEMPLATE ### define host{ namelinux-server
[Nagios-users] 3-d status map
I have my 3-d map working, but all I have is big green boring boxes. How do I get the nifty windows and linux images and what not to load up into it? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. attachment: image001.jpg - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Questions about Status Map
On 26/04/07, Frost, Mark {PBG} [EMAIL PROTECTED] wrote: How do most people handle this kind of thing? I'm fairly haphazard in my approach. Sometimes I set up each physical interface as a host. If, like me, you're not too interested in the details of the network (you only want to know enough to pass the problem over to the network team) then I'd recommend only using the interface(s) on the router which is/are most remote from your Nagios server. For example, if we have the following: nagios---routerinterface10.1.1.3-router-routerinterface10.1.231.3---webapps I would only bother to set up routerinterface10.1.231.3 and webapps as hosts in Nagios. If 10.1.1.3 goes down, Nagios will report 10.1.231.3 as 'down' and I simply pass it over to the networks team to work out which interface/lan/wan/whatever is the problem. The priority where we (who are not responsible for networks) are concerned is to make sure that Nagios tells us whether it is a host problem or a network problem. Also, Nagios won't bombard us with alerts for 'down' hosts when the underlying problem is with the network. If webapps has two interfaces, for example an internal one on 10.1.231.4 and an external one on 192.168.34.35 I would monitor both. I would also set up another nagios server on a standard internet connection so I can confirm that the web application page is accessible from the internet. In practice I do this by having a tiny nagios server at home which polls my corporate web sites using check_http every half hour or so (sad life I live I know). Cheers, Jim - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios service check latency
You need to include the directive which allows service/host checks to be parallelized. I had that same problem when I set up my first Nagios install. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Thursday, April 26, 2007 11:10 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Morris, Patrick Sent: Wednesday, April 25, 2007 10:16 PM To: James; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... I'm running about 120 services. My Nagios seemed pretty speedy before until recently i dunno what changes i made to do this but most of them should've been just to add a few services. After i noticed pretty delayed notifications and then some latency i started making changes and it still hasn't changed all that much here's my nagios.cfg tho ###BEGIN CFG# cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/servicegroups.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/meta_commands.cfg cfg_file=/usr/local/nagios/etc/meta_contact.cfg cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg cfg_file=/usr/local/nagios/etc/meta_escalations.cfg cfg_file=/usr/local/nagios/etc/meta_host.cfg cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg cfg_file=/usr/local/nagios/etc/meta_services.cfg cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg resource_file=/usr/local/nagios/etc/resource.cfg log_file=/usr/local/nagios/var/nagios.log object_cache_file=/usr/local/nagios/var/objects.cache temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat p1_file=/usr/local/nagios/bin/p1.pl aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives/ check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=0 log_initial_states=0 sleep_time=0.25 service_inter_check_delay_method=s host_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=55 max_service_check_spread=30 max_host_check_spread=30 service_reaper_frequency=10 interval_length=60 auto_rescheduling_interval=30 auto_rescheduling_window=180 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata check_for_orphaned_services=1 service_freshness_check_interval=60 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^*|'?,()= illegal_macro_output_chars=`~$|' use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios ###END CFG# Here's the service template i'm using: BEGIN SERVICE TEMPLATE ## define service{ namelocal-service service_description local-service use generic-service max_check_attempts 10
Re: [Nagios-users] Installation help - CentOS 4.4 Server
Well, then, I am all out of ideas! I'll cc the rest of the list on this one and hopefully someone can help us figure out this issue. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 2:52 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Yes, JUST grabbed whatever was up there today with the largest version number :) On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hmmm, that is a very interesting situation. Are you using the latest version of Apache? htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin that is the documentation portion for setting up the login interface. It assumes you have the latest version of apache. Make sure you have the latest version. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. _ From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, April 26, 2007 2:39 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server This is the user I created: /usr/sbin/useradd nagios passwd nagios But am never prompted to use that account... On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Set up a user for nagios ( I suggest nagiosadmin or something similar) and add that usr to the nagcmd group. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. _ From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, April 26, 2007 2:12 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server I'm logged in as root - do not get prompted to log in to the Nagios app. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Do you authenticate to the webserver when you log on to nagios? You may need to add that user to nagcmd as well using /usr/sbin/useradd -G nagcmd yourusername Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 2:05 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Restarted OK.. and Things look okay - No serious problems were detected during the pre-flight check As soon as I click one of the Service Detail link I get the permissions error... On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Oh, shit, haha, yes you will have to restart the apache server for the change to take effect Also make sure your changes to any config files don't produce and ERRORS, warnings are ok, but errors cause nagios not to function To restart server : service httpd restart check nagios config: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, April 26, 2007 1:58 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Sorry, that didn't do it... do I have to restart the server or anything like that? On 4/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks. /usr/sbin/useradd -G nagcmd www-data That did the trick... the install instructions used a different group name. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: /usr/sbin/useradd -G nagioscmd www-data That should give the webserver access if you have not already done so Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL
Re: [Nagios-users] nagios service check latency
-Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:10 PM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Morris, Patrick Sent: Wednesday, April 25, 2007 10:16 PM To: James; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... I'm running about 120 services. My Nagios seemed pretty speedy before until recently i dunno what changes i made to do this but most of them should've been just to add a few services. After i noticed pretty delayed notifications and then some latency i started making changes and it still hasn't changed all that much here's my nagios.cfg tho ###BEGIN CFG# chop Here's the service template i'm using: BEGIN SERVICE TEMPLATE ## define service{ namelocal-service service_description local-service use generic-service max_check_attempts 10 normal_check_interval 1 retry_check_interval1 Here you're telling nagios to check a service 10 times with 1 minute delay between checks once a service goes down before notifying. This is a 10+ minute delay before notification. You probably want to lower max_check_attempts. END SERVICE TEMPLATE ## and here's the host template i'm using BEGIN HOST TEMPLATE ### define host{ namelinux-server use generic-host alias servers check_command Check_ICMP!1 max_check_attempts 10 Here you're telling nagios to run the host check_command 10 times before determining the host is really down and notifying. Depending one what your host check_command is, that could be a problem. For example, if the check_command is 10 pings, that's 10+ seconds * 10 times or 100+ seconds during which nagios will do absolutely nothing else except obsess over this host. It looks like it might only be 1 ping but I don't know if your Check_ICMP definition actually uses $ARG1$. check_interval 0 I'd remove this line entirely. I'm unsure what a value of 0 will do but any host check_interval in highly discouraged in nagios2. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host check_interval:NOTE: Do NOT enable regularly scheduled checks of a host unless you absolutely need to! Host checks are already performed on-demand when necessary, so there are few times when regularly scheduled checks would be needed. Regularly scheduled host checks can negatively impact performance - see the performance tuning tips for more information. This directive is used to define the number of time units between regularly scheduled checks of the host. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] 3-d status map
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Valdinger, Stephen (DOV, MSX) Sent: Thursday, April 26, 2007 1:15 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] 3-d status map I have my 3-d map working, but all I have is big green boring boxes. How do I get the nifty windows and linux images and what not to load up into it? http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Installation help - CentOS 4.4 Server
I tracked this down: http://www.cisl.ucar.edu/nets/tools/nagios/ Which showed 1 way to resolve the issue - but is not the 'best' way to do so. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: Well, then, I am all out of ideas! I'll cc the rest of the list on this one and hopefully someone can help us figure out this issue. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys…… -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Sent:* Thursday, April 26, 2007 2:52 PM *To:* Valdinger, Stephen (DOV, MSX) *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server Yes, JUST grabbed whatever was up there today with the largest version number :) On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* [EMAIL PROTECTED] wrote: Hmmm, that is a very interesting situation. Are you using the latest version of Apache? htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin that is the documentation portion for setting up the login interface. It assumes you have the latest version of apache. Make sure you have the latest version. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys…… -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *Sent:* Thursday, April 26, 2007 2:39 PM *To:* Valdinger, Stephen (DOV, MSX) *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server This is the user I created: /usr/sbin/useradd nagios passwd nagios But am never prompted to use that account... On 4/26/07, *Valdinger, Stephen** (DOV, MSX) *[EMAIL PROTECTED] wrote: Set up a user for nagios ( I suggest nagiosadmin or something similar) and add that usr to the nagcmd group. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys…… -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *Sent:* Thursday, April 26, 2007 2:12 PM *To:* Valdinger, Stephen (DOV, MSX) *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server I'm logged in as root - do not get prompted to log in to the Nagios app. On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* [EMAIL PROTECTED] wrote: Do you authenticate to the webserver when you log on to nagios? You may need to add that user to nagcmd as well using /usr/sbin/useradd –G nagcmd *yourusername * Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys…… -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Sent:* Thursday, April 26, 2007 2:05 PM *To:* Valdinger, Stephen (DOV, MSX) *Cc:* nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server Restarted OK.. and Things look okay - No serious problems were detected during the pre-flight check As soon as I click one of the Service Detail link I get the permissions error... On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* [EMAIL PROTECTED] wrote: Oh, shit, haha, yes you will have to restart the apache server for the change to take effect Also make sure your changes to any config files don't produce and ERRORS, warnings are ok, but errors cause nagios not to function To restart server : service httpd restart check nagios config: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED][EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:58 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Sorry, that didn't do it... do I have to restart the server or anything like that? On 4/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks. /usr/sbin/useradd -G nagcmd www-data That did the trick... the install instructions used a different group name. On 4/26/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] wrote: /usr/sbin/useradd -G nagioscmd www-data That should give the webserver access if you have not already done so Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys.. -Original
[Nagios-users] Nagios Uptime reports.
Is there a way to generate monthly uptime reports and have them e-mailed to people? Some of our contracts require a specific percentage of uptime and we have to prove that we didn't go bellow the percentage on a monthly basis. Our current monitoring system allows us to generate a monthly report which gets sent to specified e-mail addresses and shows the uptime percentage. Thank you, Jeff - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Memory Usage per plug-in
Adi, We have found that the answer to this question is dependent upon multiple factors. Total number of service checks is of course one factor, and Nagios 2.5 (the last version we tested) will fail to start at around 24,000 service and host objects combined. We have also found that with typical settings, the top end limit of Nagios running active service checks on a 2 CPU system with 2GB RAM is around 500/minute. Beyond this, we observed a tipping point, where latency crept up to more than 300 seconds and stayed there. This of course depends on the running time of the plugins used, the number of failed checks, and hence the number of retires, the service timeout, etc. Suffice to say that there is not an easy formula that covers all situations. To baseline, you will need to hold many factors constant. Our typical settings will not work for more than 5% of the readers of this list, if that, and I have seen some systems running as many as 800 checks/minute in an optimized state, with low latency. Another limitation to watch out for is the number of host state changes per minute. With event handlers and/or notifications enabled, we have seen Nagios handle 300 or so state changes per minute before latency again becomes a problem. Of course, this depends on the number and speed of the event handlers, and the speed and type of the host check, which we optimize. In Nagios 3.x the host checks will be parallelized, but in 2.x so far, they block all service checks, and so are a major contributor to latency. A way around many of these limits is to use passive checks for Nagios. We have found that on a 100% passive system with typical settings (typical for US, remember), that around 3000 service checks can reliably be processed per minute. This number goes up significantly when a ramdisk is used to house the command pipe, and when NSCAfe is used instead of NSCA to receive and process the checks. If you are interested in commentary on your nagios plugin-writing project, please contact us directly. We often write and enhance plugins for this project, and would be happy to share what we know. Thomas Alessandro del Gallo wrote: adi yesaya wrote: Hi Nagiosers, I'm just starting my school project in writing plug-ins for Nagios, it's my first time with Nagios and im also learning more about Linux. In this project i installed Nagios on a Linux box and run several plug-ins. My question is: Is there any way that we can know how much memory and cpu percentage do we need when running 1 plug-in? I need to make an estimation how much memory and cpu it will take to run around 300 to 900 plug-ins. Could you share with me how much memory and cpu does your Nagios plug-in requires when they run? Thank you, Adi Yesaya - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 Hello, I am a Nagios user, I can give you my statistics. Nagios is currently monitoring: 256 hosts (0 down) (the coincidence with 2^8 is only a coincidence ) 2212 services 2203 OK 3 Warn. 1 Unkn. 5 Criticals. I give you the `ps` output. [EMAIL PROTECTED] plugins]# ps auxwww|grep nagios nagios 28426 0.0 0.0 5708 664 ?SApr04 0:00 /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -t 60 -P 3 -L authPriv -a MD5 -A -U nagios -X -o laErrorFlag.2 laErrMessage.2 laLoad.2 -c 0:0 nagios 28430 0.0 0.1 6448 1376 ?SApr04 0:00 /usr/bin/snmpget -t 60 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u -A -x DES -X **.*6.198.208:161 laErrorFlag.2 laErrMessage.2 laLoad.2 nagios 29198 0.0 0.0 7420 664 ?SApr04 0:00 /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 nagios 29199 0.0 0.1 6324 1376 ?SApr04 0:00 /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u -A -x DES -X **.*6.198.208:161 .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 nagios 30092 0.0 0.0 6100 664 ?SApr04 0:00 /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 -L authPriv -a MD5 -A -U nagios
Re: [Nagios-users] Nagios, REL, and Postfix
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Drew Myers Sent: Thursday, April 26, 2007 12:43 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios, REL, and Postfix Ok, I admit it, I'm a bonehead. I migrated from sendmail to postfix. I have several passive checks that run by way of REL. I did not anticipate breaking this functionality, but I have. In the maillog, I have the following entries: Command died with status 13: /usr/local/nagios/bin/smtpreceiver.pl. Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: Permission denied ) The permissions on the pipe are: prw-rw 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd The user that smtpreceiver.pl runs as needs to be added to the nagios group, based on the permissions above. While specifically documenting how to submit external commands from a web server, the documentation at http://nagios.sourceforge.net/docs/2_0/commandfile.html covers the concepts you need to understand to submit them from a script. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Nagios Uptime reports.
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Thursday, April 26, 2007 2:48 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Uptime reports. Is there a way to generate monthly uptime reports and have them e-mailed to people? Some of our contracts require a specific percentage of uptime and we have to prove that we didn't go bellow the percentage on a monthly basis. Our current monitoring system allows us to generate a monthly report which gets sent to specified e-mail addresses and shows the uptime percentage. Yes, look on http://nagiosexchange.org. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios service check latency
check_interval 0 I'd remove this line entirely. I'm unsure what a value of 0 will do but any host check_interval in highly discouraged in nagios2. yeah my icmp was already set to 1 ping and the retries was lowered to 2 anyway. I removed the 0 value and set it to blank. Hosts are responding normally tho it still takes about 2 or 3 mins for it to detect which really is fine. but i'm still getting about like 400-700 sec latency on my services. service execution time is only like .5 seconds i'm running outta ideas. i've tried parallelizing all the services i've tried putting the concurrent checks number up. It's not straining my system at all even when i set the concurrent checks to like 100. by the way when i run the -s option in nagios i found this peculiar HOST SCHEDULING INFORMATION --- Total hosts: 18 Total scheduled hosts: 1 Host inter-check delay method: SMART *Average host check interval: 3600.00 sec* *Host inter-check delay: 1800.00 sec* Max host check spread: 30 min First scheduled check: Thu Apr 26 15:04:40 2007 Last scheduled check:Thu Apr 26 15:04:40 2007 SERVICE SCHEDULING INFORMATION --- Total services: 105 Total scheduled services: 105 Service inter-check delay method: SMART Average service check interval: 60.00 sec Inter-check delay: 0.57 sec Interleave factor method: SMART Average services per host: 5.83 Service interleave factor: 6 Max service check spread: 30 min First scheduled check: Thu Apr 26 15:04:50 2007 Last scheduled check: Thu Apr 26 15:05:50 2007 That's a bit high for avg host check interval isn't it? Anyhow i'm more concerned with the services still. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] nagios service check latency
-Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 5:08 PM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency check_interval 0 I'd remove this line entirely. I'm unsure what a value of 0 will do but any host check_interval in highly discouraged in nagios2. yeah my icmp was already set to 1 ping and the retries was lowered to 2 anyway. I removed the 0 value and set it to blank. Don't set it to blank, remove the directive entirely. Nagios will fail if you leave the directive in with a blank value. Hosts are responding normally tho it still takes about 2 or 3 mins for it to detect which really is fine. Hosts will only be checked when a service on the host fails. This is probably directly related to the service latency for that host. but i'm still getting about like 400-700 sec latency on my services. service execution time is only like .5 seconds i'm running outta ideas. Post an entire host/service definition, not just your templates. by the way when i run the -s option in nagios i found this peculiar HOST SCHEDULING INFORMATION --- Total hosts: 18 Total scheduled hosts: 1 Host inter-check delay method: SMART Average host check interval: 3600.00 sec Host inter-check delay: 1800.00 sec Max host check spread: 30 min First scheduled check: Thu Apr 26 15:04:40 2007 Last scheduled check:Thu Apr 26 15:04:40 2007 That's a bit high for avg host check interval isn't it? Yes, it should be 0.00s but that's what you've specified in some host definition. ;) You should have 0 scheduled hosts. Nagios will automagically run host checks as needed. Anyhow i'm more concerned with the services still. Yes, certainly as that's nagios's main focus as well. There's something fundamental that's missing. I would expect a 286 box to be able to handle that number of checks easily ;) I'd try setting in nagios.cfg -- max_concurrent_check=0 service_reaper_frequency=2 If that didn't make a difference I'd try setting normal_check_interval to 5 in my service definitions. If that worked, lower it progressively. You also specify performance data collection -- process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata Are these scripts working as expected? If not you could be adding 5 seconds per check to your latency. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios service check latency
by the way when i run the -s option in nagios i found this peculiar HOST SCHEDULING INFORMATION --- Total hosts: 18 Total scheduled hosts: 1 Host inter-check delay method: SMART Average host check interval: 3600.00 sec Host inter-check delay: 1800.00 sec Max host check spread: 30 min First scheduled check: Thu Apr 26 15:04:40 2007 Last scheduled check:Thu Apr 26 15:04:40 2007 That's a bit high for avg host check interval isn't it? Yes, it should be 0.00s but that's what you've specified in some host definition. ;) You should have 0 scheduled hosts. Nagios will automagically run host checks as needed. You've got an magical eye for things Apparently that 1 host that i accidently left scheduled was the problem... *i think* i also set the rest of the things you told me to like the lower reaper interval. However things are fine and dandy... i really thing it was that host though. Thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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