[Nagios-users] useful oracle checks
Hi, I need to monitor an oracle database ( on debian ). I played with the check_oracle --tns 127.0.0.1 over ssh And thats returns green ok ! So far so good. But what other checks are useful to do or even better like the --login option or do need to check them all ... i'm not home at oracle stuff. regards Tommy Usage: check_oracle --tns Oracle Sid or Hostname/IP address check_oracle --db ORACLE_SID check_oracle --login ORACLE_SID check_oracle --cache ORACLE_SID USER PASS CRITICAL WARNING check_oracle --tablespace ORACLE_SID USER PASS TABLESPACE CRITICAL WARNING check_oracle --oranames Hostname check_oracle --help check_oracle --version Check Oracle status --tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios --- Requires Oracle user/password and SID specified. --- Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID --- Requires Oracle user/password specified. --- Requires select on dba_data_files and dba_free_space --oranames Hostname Check remote Oracle Names server - 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.phpp=sourceforgeCID=DEVDEV___ 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] useful oracle checks
I just check_oracle --login dbnamesince this tells me if the server is reachable, if the login prompt is given correctly and if there are any problems, they are raised with the ORA- error message so at all time I know what the exact condition or error of the database is. -h Hari Sekhon Mestdagh Tommy wrote: Hi, I need to monitor an oracle database ( on debian ). I played with the check_oracle --tns 127.0.0.1 over ssh And thats returns green ok ! So far so good. But what other checks are useful to do or even better like the --login option or do need to check them all ... i'm not home at oracle stuff. regards Tommy Usage: check_oracle --tns Oracle Sid or Hostname/IP address check_oracle --db ORACLE_SID check_oracle --login ORACLE_SID check_oracle --cache ORACLE_SID USER PASS CRITICAL WARNING check_oracle --tablespace ORACLE_SID USER PASS TABLESPACE CRITICAL WARNING check_oracle --oranames Hostname check_oracle --help check_oracle --version Check Oracle status --tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios --- Requires Oracle user/password and SID specified. --- Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID --- Requires Oracle user/password specified. --- Requires select on dba_data_files and dba_free_space --oranames Hostname Check remote Oracle Names server - 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.phpp=sourceforgeCID=DEVDEV ___ 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 - 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.phpp=sourceforgeCID=DEVDEV___ 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] cgi.cfg
Dear list readers - I am somewhat new to nagios, but i have had a pretty good experience in building, installing, and configuring nagios to this point. I have built 2.7 on a Fedora Core 6 box - patched to the latest revs of all rpms. I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file - so, i remark that one out, and rerun the check and again it complains about the next unremarked line - this continues until the entire file is remarked out. Now i have checked and i dont define any of the items in the cgi.cfg anywhere else, and i dont define that file more than once. I am really confused why it keeps failing, and why i cannot define things like the authentication in the file (using the sample cgi.cfg to start with). The second issue is alerts, that i am not receiving from nagios. I need to look at this a little more closely, but after installing nagiosweb to make the configuration files a little easier for a jr admin to understand and configure - i havent gotten any alerts - and i DO have 1 system not pingable, etc, so i should be getting 'some' Anyway i would appreciate any thoughts on the cgi.cfg problem Thank you in advance Michael Weiner - 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.phpp=sourceforgeCID=DEVDEV___ 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] cgi.cfg
On 26/02/07, Michael Weiner [EMAIL PROTECTED] wrote: I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file It would help greatly if you could post the relevant portion of your nagios.cfg and cgi.cfg files, and the exact error you get when you run nagios -v /etc/nagios/nagios.cfg. I would strongly recommend that you consider installing Nagios and the plugins from the source tarball which can be found at http://www.nagios.org rather than from .rpm . The .rpm install is quite different to a source tarball install - it puts various bits of Nagios in various different directories and makes it more difficult to support. Also, it will install a version which has embedded perl enabled - something you might find you don't want in the future. If you install from source tarball, it may take you a little longer than an rpm install, but you will learn more about Nagios while you do the install, and will find that if you want to try some of the various excellent add-ons for Nagios in the future, they are easier to get working if you have done a standard install from tarball. - 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.phpp=sourceforgeCID=DEVDEV ___ 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] cgi.cfg
My guess is Nagios is trying to parse cgi.cfg as an object configuration file. IIRC, cgi.cfg should be in the same place as nagios.cfg, and NOT entered into the nagios.cfg as part of either a cfg_file or cfg_dir directive. As Jim said, it would help if you post the relevant portions of your nagios.cfg file. Andy. Jim Avery wrote: On 26/02/07, Michael Weiner [EMAIL PROTECTED] wrote: I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file It would help greatly if you could post the relevant portion of your nagios.cfg and cgi.cfg files, and the exact error you get when you run nagios -v /etc/nagios/nagios.cfg. I would strongly recommend that you consider installing Nagios and the plugins from the source tarball which can be found at http://www.nagios.org rather than from .rpm . The .rpm install is quite different to a source tarball install - it puts various bits of Nagios in various different directories and makes it more difficult to support. Also, it will install a version which has embedded perl enabled - something you might find you don't want in the future. If you install from source tarball, it may take you a little longer than an rpm install, but you will learn more about Nagios while you do the install, and will find that if you want to try some of the various excellent add-ons for Nagios in the future, they are easier to get working if you have done a standard install from tarball. - 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.phpp=sourceforgeCID=DEVDEV ___ 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,45e2e0b9103003857517878! -- 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 - 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.phpp=sourceforgeCID=DEVDEV___ 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] Monitoring Cisco 3750 stack
Hi, what I'm looking for is the state of all members of the stack. Something like the output of sh switch. I found the oid 1.3.6.1.4.1.9.9.500.1.2.1.1 that returns a table with the members and the states of each member. I wrote a little perl script that checks for it. Thanks to all, Andrea Hugo van der Kooij wrote: On Sat, 24 Feb 2007, Andrea Gabellini wrote: I would like to monitor the status of a stack of Cisco Catalyst 3750. Do someone know the SNMP OIDs to query? Or can someone share info or scripts? I guess a snmpwalk against the device will let it spill it's guts and you pick whatever you want to know about it. So the basic question is. What do you want to know about it? For example: You can gather the amount of non-unicast packets for a port if you like to. But is it usefull to you? Hugo. -- --- Computer programmers don't byte, they nibble a bit. --- Ing. Andrea Gabellini Email: [EMAIL PROTECTED] Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Republic of San Marino http://www.omniway.sm http://www.telecomitalia.sm - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Retaining history on upgrade
I am currently running version 1.2 of Nagios, and I am setting up a new server as a replacement. I will be putting the most recent version on the new server (2.7). Is it possible to transfer the log directory contents to the new server and use them with version 2.7? - 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.phpp=sourceforgeCID=DEVDEV___ 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] Retaining history on upgrade
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Shawn Kovalchick Sent: Monday, February 26, 2007 9:19 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Retaining history on upgrade I am currently running version 1.2 of Nagios, and I am setting up a new server as a replacement. I will be putting the most recent version on the new server (2.7). Is it possible to transfer the log directory contents to the new server and use them with version 2.7? Yes, nagios.log and archives/* (which are the history). -- Marc - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Export Nagios Data
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Riahi Taieb Sent: Monday, February 26, 2007 5:10 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Export Nagios Data Hello, I have Nagios running on a machine and I would like to upgrade it it to a newer version on another machine. Now, we are running Nagios 1.3, and we intend to replace it with a 2.7 one which is hosted on a new server. Is there a way to export the database ( Nagios with mysql ) through the upgrade process, so we can find all of our previous reports ? Nagios 1.x only maintains current data in the database. All historical data is in nagios.log and archives/*. If you move those files over to your new installation then the historical data will be retained. -- Marc - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Current state of database support?
Hello, Because of the implementation of other application in Nagios I was looking at support for databases. I see that database support for Nagios 2.0 has been dropped. When I search the web/forums etc I see some topics to address this issue, but they are all more then a year old and I don't know the current state of of this support. What I want to do: I want to be able to add hosts / services from my current application (written in php) to the nagios config for monitoring. Because of the amount of hosts en services my preferred option is to use some kind of database. So can some advice me how to proceed on this. Thanks, chiel -- Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Current state of database support?
Because of the implementation of other application in Nagios I was looking at support for databases. I see that database support for Nagios 2.0 has been dropped. When I search the web/forums etc I see some topics to address this issue, but they are all more then a year old and I don't know the current state of of this support. What I want to do: I want to be able to add hosts / services from my current application (written in php) to the nagios config for monitoring. Because of the amount of hosts en services my preferred option is to use some kind of database. So can some advice me how to proceed on this. Thanks, chiel There is no current support (nor has there ever been, as far as I know) for reading Nagios configs from a database. You can check out ndoutils for the support that's available now, but it's still won't give you the ability to keep your configs in a database. - 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.phpp=sourceforgeCID=DEVDEV ___ 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] useful oracle checks
I'm not sure how the tablespace check would work with auto-extending tablespaces if you use them. I'm curous about that myself. Anybody know? It doesn't work well. :) Because auto-extending tables tend to live n the edge of their available space, this check will almost always report the table is nearly full, making it pretty useless as an alerting tool. - 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.phpp=sourceforgeCID=DEVDEV ___ 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] useful oracle checks
Phil Costelloe wrote: Jim Avery wrote: I confess I haven't used these yet myself (probably ought to though). The ones I would immediately pick are: check_oracle --tns Oracle Sid or Hostname/IP address and check_oracle --tablespace ORACLE_SID USER PASS TABLESPACE I probably wouldn't bother with most of the others on the principle that if I can't interrogate the tablespaces, I can't connect to the databases either. I'm not sure how the tablespace check would work with auto-extending tablespaces if you use them. I'm curous about that myself. Anybody know? I was too curious to wait. :) In the version of check_oracle shipped with plugins 1.4.3 (and I suspect later releases though I haven't checked), the tablespaces option will report on the usage of currently allocated extents. This is the same logic the Enterprise Manager GUI uses and the net effect for busy tablespaces which are set to auto extend is to make them look like they're permanently on the verge of being 100% full. I've got some SQL that I run as a cron job that takes into account the maximum possible size of the tablespace when it works out the fill percentage, I'll see if I can work it into the check_oracle script. Does anybody maintain it? I suspect it's orphaned at the moment. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE - 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.phpp=sourceforgeCID=DEVDEV ___ 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] useful oracle checks
Jim Avery wrote: I confess I haven't used these yet myself (probably ought to though). The ones I would immediately pick are: check_oracle --tns Oracle Sid or Hostname/IP address and check_oracle --tablespace ORACLE_SID USER PASS TABLESPACE I probably wouldn't bother with most of the others on the principle that if I can't interrogate the tablespaces, I can't connect to the databases either. I'm not sure how the tablespace check would work with auto-extending tablespaces if you use them. I'm curous about that myself. Anybody know? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Disk space how ??
Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files thanks On 2/26/07, Morris, Patrick [EMAIL PROTECTED] wrote: i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. check_local_disk will (as the name implies) only check the local disk. If you want to check remote disks, you can use something like nrpe, or a plugin that will query the remote machine directly, such as nagios-statd or check_snmp. - 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.phpp=sourceforgeCID=DEVDEV___ 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] Logging interval
Hello! I've started recently working with Nagios 2.5, I use a daily log rotation method and I noticed that nagios only stores the logs in the archives folder for a period of a month. My question is if this is some sort of a problem I'm having or is a configurable nagios feature and if so how can I change it? I appreciate any help on this and forgive me if this happens to be a silly question but I'm new to the nagios world. Thanks, H. Rocha - 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.phpp=sourceforgeCID=DEVDEV___ 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] Disk space how ??
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, February 26, 2007 11:37 AM To: Morris, Patrick Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Disk space how ?? Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files http://www.nagios.org/download/ NRPE 2.7 02/19/2007 Tarball Download NRPE is an addon for Nagios that allows you to execute local plugins (like check_disk, check_procs, etc.) on remote hosts. The check_nrpe plugin is called from Nagios and makes plugin execution requests to the NRPE daemon running on the remote host (either as a standalone daemon or as a service under inetd). Supports passing command arguments to server, as well as native SSL/TLS encryption (anonymous DH mode). You can also use check-by-ssh distributed with the standard plugins to run plugins on remote machines via ssh. -- Marc - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Logging interval
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of H. Rocha Sent: Monday, February 26, 2007 11:41 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Logging interval Hello! I've started recently working with Nagios 2.5, I use a daily log rotation method and I noticed that nagios only stores the logs in the archives folder for a period of a month. My question is if this is some sort of a problem I'm having or is a configurable nagios feature and if so how can I change it? Nagios never removes the archived log files nor is there any standard or non-standard addon to nagios that does so that I've seen. You must have some external program that's removing them. logrotate or cron perhaps? Since the archives contain the status history, you'll never have any historical data older than a month. -- Marc - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Logging interval
Please always respond on list. -Original Message- From: H. Rocha [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 12:25 PM To: Marc Powell Subject: Re: [Nagios-users] Logging interval Thank you for your reply! So that means that there is no way I can have historical data older than a month in the archives? Yes, sure you can. You just need to find what's removing the files and disable it. Nagios fully supports historical data up to two years old if you keep the files that long. -- Marc - 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.phpp=sourceforgeCID=DEVDEV ___ 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] Disk space how ??
On Mon, 26 Feb 2007, Nedim Bicic wrote: Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files Check out the SSH Framework for Remote Plugins. So long as the remote system has sshd running, you can connect (securely) and execute commands on the remote host. Defaults for checking disk, memory, procs, etc. are included for Linux, Solaris, and AIX. Not to mention that installation is a snap. http://www.nagiosexchange.org/Communication.41.0.html?tx_netnagext_pi1[p_view]=409 Sean -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ - 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.phpp=sourceforgeCID=DEVDEV ___ 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] No-op external command
I'm trying (for various and sundry reasons) to submit what amounts to a no-op external command. As far as I can tell from http://www.nagios.org/developerinfo/externalcommands/commandlist.php, there are no official no-ops. Is there any hazard in telling the system to enable notifications over and over again, that anyone is aware of? Or, failing that, have any better ideas for a no-op? Steven Schwartz CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. - 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.phpp=sourceforgeCID=DEVDEV___ 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