Re: [Nagios-users] upgrade from 3.0.6 to 3.2.1 using rpmforge (yum)
>I put the EPEL repo on to the system then ran a "yum search nagios". >Rpmforge should up but EPEL didn't I guess I should try an "yum info" >for fun. Keep in mind anytime you add a 3rd party repo, you should use a yum plugin like priorities to keep Base protected. http://wiki.centos.org/AdditionalResources/Repositories/RPMForge -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] upgrade from 3.0.6 to 3.2.1 using rpmforge (yum)
Joseph L. Casale wrote: >> Are there any gotchas I need to look out for when upgrading via yum? > > Backup your configs, but the rpms from rpmforge will simply create .new > files instead of clobbering your old files, then you can merge/rewrite > anything needed. Thanks. I was thinking any and everything with "nagios" in the name but the config dirs/subdirs makes the most amount of sense. >> I see a message in January about installing on CentOS and the >> recommendation of using the EPEL repo. Rpmforge, EPEL? Any advantages >> to either? I put the EPEL repo on to the system then ran a "yum search nagios". Rpmforge should up but EPEL didn't I guess I should try an "yum info" for fun. > > Epel's nagios version is ancient, it only has useful plugins. I'll keep that in mind. > One thing to keep in mind is the Base repo config in CentOS points to > a "5" on the mirrors which is symlinked to the latest version. Continuing > to use an old version like 5.3 without editing your repo cnofigs to point > to 5.3 causes you to mix 5.5 rpms into your 5.3 installation which > depending on what you install can be a problem... Thanks again. \\||/ Rod -- > > Hth, > jlc > > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > ___ > 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] upgrade from 3.0.6 to 3.2.1 using rpmforge (yum)
>Are there any gotchas I need to look out for when upgrading via yum? Backup your configs, but the rpms from rpmforge will simply create .new files instead of clobbering your old files, then you can merge/rewrite anything needed. >I see a message in January about installing on CentOS and the >recommendation of using the EPEL repo. Rpmforge, EPEL? Any advantages >to either? Epel's nagios version is ancient, it only has useful plugins. One thing to keep in mind is the Base repo config in CentOS points to a "5" on the mirrors which is symlinked to the latest version. Continuing to use an old version like 5.3 without editing your repo cnofigs to point to 5.3 causes you to mix 5.5 rpms into your 5.3 installation which depending on what you install can be a problem... Hth, jlc -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 from 3.0.6 to 3.2.1 using rpmforge (yum)
Are there any gotchas I need to look out for when upgrading via yum? CentOS 5.3 (man I better get the server updated.) I see a message in January about installing on CentOS and the recommendation of using the EPEL repo. Rpmforge, EPEL? Any advantages to either? TIA, Rod -- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] R: Ndoutils block nagios
On 2010-06-03 08:38, Abdessamad BARAKAT wrote: > Before this crash , all works like a charm. Do you think I really need > to upgrade ? > I would just recommend it on performance purpose but if it worked for you, stay at 1.4b7 - 1.4b8 is shipping with several bugs which are not all resolved in 1.4b9 (from what I can tell looking at the code and comparing to Icinga IDOUtils). Regarding your problem I would run a sanity check on the database, checking if there's anything broken and ndo2db just fails on inserting data (long lasting connections to the rdbms slow down the overall sequential inserts). You might also use a little trick to remove the 5k items from buffer - you can set that in your ndomod.cfg - set it to 1, restart the core, change back and restart again. Never tried that, but at least those buffered items should be dropped out of the way. But I think the electrical incident harmed sth else, like the rdbms. Kind regards, Michael > > Michael Friedrich a écrit : > >> Abdessamad BARAKAT wrote: >> >>> buffer_file=/var/cache/nagios3/ndoutils_mod.tmp >>> >> Try to remove this from disk in order to drop the waiting 5k items being >> put on the socket. >> >> Having a fresh startup of nagios and ndoutils, the config waits to be >> written, before some more realtime/config cleanups and after that, the >> historical cleanups leading from ndo2db.cfg might also interfere the >> normal insert/update procedure. this is when the socket gets blocking >> and ndomod is buffed with data it can't even send to the socket. >> >> Regarding 1.4b7 - consider getting the latest cvs head and patch the >> unique constraint bugfix on nagios-devel yourself onto mysql.sql >> >> It's not "the latest and greatest" ndoutils, just "the latest" though. >> >> Kind regards, >> Michael >> >> >>> file_rotation_interval=14400 >>> file_rotation_timeout=60 >>> reconnect_interval=15 >>> reconnect_warning_interval=15 >>> data_processing_options=-1 >>> config_output_options=3 >>> >>> >>> Thanks again for your help >>> >>> Bertinelli Massimo a écrit : >>> I risolve the same problem using this method: stop ndo and nagios deleting the file ndo.sock on nagios/var directory Start ndo and nagios Bye Max - Messaggio originale - Da: Abdessamad BARAKAT A: nagios-users@lists.sourceforge.net Inviato: Wed Jun 02 13:42:12 2010 Oggetto: [Nagios-users] Ndoutils block nagios Hi, After a electrical crash, I have a problem with ndoutils, nagios start and works correctly when ndo2db isn't started . When I start ndo2db, nagios blocks. When ndo2db is started , nagios connect to ndo2db: [1275478646] ndomod: Successfully reconnected to data sink! 113098 items lost, 5000 queued items to flush. I see this activity on the process nagios with strace: [pid 18603] write(7, "\n400:\n4=1275477698.622212\n174=MAW"..., 588 [pid 18604]<... poll resumed> )= 0 (Timeout) [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout) [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout) [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout) [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout) Before the electrical crash , all is ok. I use : - nagios 3.0.6 - NDOMOD 1.4b7 (10-31-2007) Many thanks for any help / information -- ___ 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 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 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 >>> reportin
Re: [Nagios-users] check_yum issue
On Thu, Jun 3, 2010 at 1:28 PM, Terry wrote: > Hello, > > I am trying to use check_yum: > http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/Check_Yum/details > > It works great from the command line: > [r...@foo ~]# yum --security check-update > Loaded plugins: dellsysid, rhnplugin, security > Limiting package lists to security relevant ones > Needed 4 of 11 packages, for security > > rhn-check.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-client-tools.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-setup.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-setup-gnome.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > [r...@foo ~]# /usr/lib64/nagios/plugins/check_yum > YUM CRITICAL: 4 Security Updates Available. 7 Non-Security Updates Available > [r...@foo ~]# echo $? > 2 > > It returns this from nagios: > [r...@foo ~]# /usr/lib64/nagios/plugins/check_nrpe -H 10.0.0.2 -t 50 > -c check_yum > YUM OK: 0 Security Updates Available > > Here's my NRPE configuration: > [r...@bar ~]# cat /etc/nagios/nrpe.cfg | grep check_yum > command[check_yum]=/usr/lib64/nagios/plugins/check_yum > > What am I missing here? > I think I fail here. This is a permissions issue as noted in the description of the plugin.Anyone doing something similar? If so, how is your solution architected? Thanks! -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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_yum issue
It appears that root has permissions but whatever user the nagios instance is running doesn't. Start there g.; On Thu, Jun 3, 2010 at 11:28 AM, Terry wrote: > Hello, > > I am trying to use check_yum: > > http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/Check_Yum/details > > It works great from the command line: > [r...@foo ~]# yum --security check-update > Loaded plugins: dellsysid, rhnplugin, security > Limiting package lists to security relevant ones > Needed 4 of 11 packages, for security > > rhn-check.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-client-tools.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-setup.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > rhn-setup-gnome.noarch > 0.4.20-33.el5_5.2 > rhel-x86_64-server-5 > [r...@foo ~]# /usr/lib64/nagios/plugins/check_yum > YUM CRITICAL: 4 Security Updates Available. 7 Non-Security Updates > Available > [r...@foo ~]# echo $? > 2 > > It returns this from nagios: > [r...@foo ~]# /usr/lib64/nagios/plugins/check_nrpe -H 10.0.0.2 -t 50 > -c check_yum > YUM OK: 0 Security Updates Available > > Here's my NRPE configuration: > [r...@bar ~]# cat /etc/nagios/nrpe.cfg | grep check_yum >command[check_yum]=/usr/lib64/nagios/plugins/check_yum > > What am I missing here? > > > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > ___ > 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 > -- Gary Every "Pay it Forward!" -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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_yum issue
Hello, I am trying to use check_yum: http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/Check_Yum/details It works great from the command line: [r...@foo ~]# yum --security check-update Loaded plugins: dellsysid, rhnplugin, security Limiting package lists to security relevant ones Needed 4 of 11 packages, for security rhn-check.noarch 0.4.20-33.el5_5.2 rhel-x86_64-server-5 rhn-client-tools.noarch 0.4.20-33.el5_5.2 rhel-x86_64-server-5 rhn-setup.noarch 0.4.20-33.el5_5.2 rhel-x86_64-server-5 rhn-setup-gnome.noarch 0.4.20-33.el5_5.2 rhel-x86_64-server-5 [r...@foo ~]# /usr/lib64/nagios/plugins/check_yum YUM CRITICAL: 4 Security Updates Available. 7 Non-Security Updates Available [r...@foo ~]# echo $? 2 It returns this from nagios: [r...@foo ~]# /usr/lib64/nagios/plugins/check_nrpe -H 10.0.0.2 -t 50 -c check_yum YUM OK: 0 Security Updates Available Here's my NRPE configuration: [r...@bar ~]# cat /etc/nagios/nrpe.cfg | grep check_yum command[check_yum]=/usr/lib64/nagios/plugins/check_yum What am I missing here? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] clustered solution, how to edit configs?
Have you looked into DNX? Also I'm not positive but I think those instructions are for the 1.0 branch of Nagios which is relatively ancient. You should if at all possible upgrade to Nagios 3.x branch as soon as possible. -Original Message- From: Cory Coager [mailto:ccoa...@davisvision.com] Sent: Thursday, June 03, 2010 6:52 AM To: Nagios Users List Subject: [Nagios-users] clustered solution, how to edit configs? I'm planning on creating a nagios cluster using the following guidelines from http://nagios.sourceforge.net/docs/1_0/distributed.html . I was thinking of using multiple nagios agents that use a submit_check_result script to send the results to two frontends using nsca. Here is where I'm stuck though. I want to have the same configs on every server but have random checks enabled/disabled so the load is distributed. I also want to edit all the configs from one location in one directory. I don't want to search for service checks in multiple directories, e.g., where is service check23? Is it in folder2 or folder13? How can I accomplish this? Does someone have a solution already or do I need to do something creative? I was thinking I could edit all the configs from one location, submit them to a version control repository, the agents automatically download new configs from the repository via crontab and nagios is reload if and only if they pass sanity checks. Thats a nice start but I'm still stuck on, how do I distribute the load? How can I specify which checks are enabled on serverA while the rest are disabled with my requirements that I stated earlier. I don't mind scripting a solution to make this possible but I need some creative ideas. Hoping someone can help me out! ~Cory Coager The information contained in this communication is intended only for the use of the recipient(s) named above. It may contain information that is privileged or confidential, and may be protected by State and/or Federal Regulations. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] clustered solution, how to edit configs?
Have you looked into DNX? -Original Message- From: Cory Coager [mailto:ccoa...@davisvision.com] Sent: Thursday, June 03, 2010 6:52 AM To: Nagios Users List Subject: [Nagios-users] clustered solution, how to edit configs? I'm planning on creating a nagios cluster using the following guidelines from http://nagios.sourceforge.net/docs/1_0/distributed.html . I was thinking of using multiple nagios agents that use a submit_check_result script to send the results to two frontends using nsca. Here is where I'm stuck though. I want to have the same configs on every server but have random checks enabled/disabled so the load is distributed. I also want to edit all the configs from one location in one directory. I don't want to search for service checks in multiple directories, e.g., where is service check23? Is it in folder2 or folder13? How can I accomplish this? Does someone have a solution already or do I need to do something creative? I was thinking I could edit all the configs from one location, submit them to a version control repository, the agents automatically download new configs from the repository via crontab and nagios is reload if and only if they pass sanity checks. Thats a nice start but I'm still stuck on, how do I distribute the load? How can I specify which checks are enabled on serverA while the rest are disabled with my requirements that I stated earlier. I don't mind scripting a solution to make this possible but I need some creative ideas. Hoping someone can help me out! ~Cory Coager The information contained in this communication is intended only for the use of the recipient(s) named above. It may contain information that is privileged or confidential, and may be protected by State and/or Federal Regulations. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] clustered solution, how to edit configs?
I'm planning on creating a nagios cluster using the following guidelines from http://nagios.sourceforge.net/docs/1_0/distributed.html . I was thinking of using multiple nagios agents that use a submit_check_result script to send the results to two frontends using nsca. Here is where I'm stuck though. I want to have the same configs on every server but have random checks enabled/disabled so the load is distributed. I also want to edit all the configs from one location in one directory. I don't want to search for service checks in multiple directories, e.g., where is service check23? Is it in folder2 or folder13? How can I accomplish this? Does someone have a solution already or do I need to do something creative? I was thinking I could edit all the configs from one location, submit them to a version control repository, the agents automatically download new configs from the repository via crontab and nagios is reload if and only if they pass sanity checks. Thats a nice start but I'm still stuck on, how do I distribute the load? How can I specify which checks are enabled on serverA while the rest are disabled with my requirements that I stated earlier. I don't mind scripting a solution to make this possible but I need some creative ideas. Hoping someone can help me out! ~Cory Coager The information contained in this communication is intended only for the use of the recipient(s) named above. It may contain information that is privileged or confidential, and may be protected by State and/or Federal Regulations. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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