Tracking database using Nagios (the search for scripts)
All,We currently have BigBrother to Nagios with regard to the broad monitoring company. I'm working on the side of the data base of the things and I wonder if there is someone out there who can tell me where I can get scripts "ready made" rather than having me to write from scratch. Nagios has plugins for the database, but no handles things like memory, on-demand jobs followed etc.
Any help would be appreciated.
Thank you
Hello;
Nagios Exchange can help you:
http://Exchange.Nagios.org/directory/plugins/databases/Oracle
Best regards
mseberg
Tags: Database
Similar Questions
-
I have a new time capsule airport. How to limit the search for who can use the time capsule backup process?
Set a password to disk... disk tab in the utility... and just give to those you want to use the TC...
-
Using synonyms in the search for name
Hello
I try to use synonyms in an oracle namesearch. Set up a seqarch name as in the second example described in the developer's guide to the oracle text to http://download.oracle.com/docs/cd/E18283_01/text.112/e16594/search.htm application
Now the name, for I am looking can hold one '&', for example 'B & V '.
I would like to find this text when I enter "B & V", B & V' or 'B and V.
I found a thread on how to set up a thesaurus with synonyms for '&' and 'and' to 'and' and ampersand or special characters
Now I'm wondering how to combine this.
Thanks for the help in advance,
DirkYour change was correct and it works. For reserved words in the braces enclosing aims to tell Oracle Text as text rather than apply the special meaning they have as reserved words. Since "und" is not a reserved word, it didn't need to be escaped by placing braces. When you set "&", then "und" synonymously as you did the search for 'B und V' correctly found "B and V, as in the modified below demo. In this particular case, the search might work without applying the format_string, but you need to keep it in the query so that it is applied to these values in need, for example, if you searched for "B & V' or 'B & V".
SCOTT@orcl_11gR2> create table emp ( 2 first_name varchar2(30), 3 middle_name varchar2(30), 4 last_name varchar2(30), 5 email varchar2(30), 6 phone varchar2(30)); Table created. SCOTT@orcl_11gR2> -- added row of data: SCOTT@orcl_11gR2> set define off SCOTT@orcl_11gR2> insert into emp values 2 ('Jane', 'Doe', 'B & V', '[email protected]', '321-654-0987'); 1 row created. SCOTT@orcl_11gR2> SCOTT@orcl_11gR2> create or replace procedure empuds_proc 2 (rid in rowid, tlob in out nocopy clob) is 3 tag varchar2(30); 4 phone varchar2(30); 5 begin 6 for c1 in (select FIRST_NAME, MIDDLE_NAME, LAST_NAME, EMAIL, PHONE 7 from emp 8 where rowid = rid) 9 loop 10 tag :='
'; 11 dbms_lob.writeappend(tlob, length(tag), tag); 12 if (c1.EMAIL is not null) then 13 dbms_lob.writeappend(tlob, length(c1.EMAIL), c1.EMAIL); 14 end if; 15 tag :=' '; 16 dbms_lob.writeappend(tlob, length(tag), tag); 17 tag :=''; 18 dbms_lob.writeappend(tlob, length(tag), tag); 19 if (c1.PHONE is not null) then 20 phone := nvl(REGEXP_SUBSTR(c1.PHONE, '\d\d\d\d($|\s)'), ' '); 21 dbms_lob.writeappend(tlob, length(phone), phone); 22 end if; 23 tag :=' '; 24 dbms_lob.writeappend(tlob, length(tag), tag); 25 tag :=''; 26 dbms_lob.writeappend(tlob, length(tag), tag); 27 if (c1.FIRST_NAME is not null) then 28 dbms_lob.writeappend(tlob, length(c1.FIRST_NAME), c1.FIRST_NAME); 29 dbms_lob.writeappend(tlob, length(' '), ' '); 30 end if; 31 if (c1.MIDDLE_NAME is not null) then 32 dbms_lob.writeappend(tlob, length(c1.MIDDLE_NAME), c1.MIDDLE_NAME); 33 dbms_lob.writeappend(tlob, length(' '), ' '); 34 end if; 35 if (c1.LAST_NAME is not null) then 36 dbms_lob.writeappend(tlob, length(c1.LAST_NAME), c1.LAST_NAME); 37 end if; 38 tag :=' '; 39 dbms_lob.writeappend(tlob, length(tag), tag); 40 end loop; 41 end; 42 / Procedure created. SCOTT@orcl_11gR2> show errors No errors. SCOTT@orcl_11gR2> begin 2 ctx_ddl.create_preference('empuds', 'user_datastore'); 3 ctx_ddl.set_attribute('empuds', 'procedure', 'empuds_proc'); 4 ctx_ddl.set_attribute('empuds', 'output_type', 'CLOB'); 5 end; 6 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> begin 2 ctx_ddl.create_section_group('namegroup', 'BASIC_SECTION_GROUP'); 3 ctx_ddl.add_ndata_section('namegroup', 'fullname', 'fullname'); 4 ctx_ddl.add_ndata_section('namegroup', 'phone', 'phone'); 5 ctx_ddl.add_ndata_section('namegroup', 'email', 'email'); 6 end; 7 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> begin 2 ctx_thes.create_thesaurus ('nicknames'); 3 ctx_thes.create_relation ('nicknames', 'John', 'syn', 'Jon'); 4 end; 5 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> SCOTT@orcl_11gR2> -- added synonyms to thesaurus: SCOTT@orcl_11gR2> begin 2 ctx_thes.create_relation ('nicknames', '&', 'syn', 'and'); 3 ctx_thes.create_relation ('nicknames', '&', 'syn', 'und'); 4 end; 5 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> SCOTT@orcl_11gR2> begin 2 ctx_ddl.create_preference('NDATA_WL', 'BASIC_WORDLIST'); 3 ctx_ddl.set_attribute('NDATA_WL', 'NDATA_ALTERNATE_SPELLING', 'FALSE'); 4 ctx_ddl.set_attribute('NDATA_WL', 'NDATA_BASE_LETTER', 'TRUE'); 5 ctx_ddl.set_attribute('NDATA_WL', 'NDATA_THESAURUS', 'NICKNAMES'); 6 ctx_ddl.set_attribute('NDATA_WL', 'NDATA_JOIN_PARTICLES', 7 'de:di:la:da:el:del:qi:abd:los:la:dos:do:an:li:yi:yu:van:jon:un:sai:ben:al'); 8 end; 9 / PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> create index name_idx on emp (first_name) 2 indextype is ctxsys.context 3 parameters 4 ('datastore empuds 5 section group namegroup 6 wordlist ndata_wl'); Index created. SCOTT@orcl_11gR2> SCOTT@orcl_11gR2> -- added function to format search string: SCOTT@orcl_11gR2> create or replace function format_string 2 (p_string in varchar2) 3 return varchar2 4 as 5 v_string varchar2 (32767) := ' ' || p_string || ' '; 6 begin 7 -- add extra spaces around ampersand: 8 v_string := replace (v_string, '&', ' & '); 9 -- remove duplciate spaces: 10 while instr (v_string, ' ') > 0 11 loop 12 v_string := replace (v_string, ' ', ' '); 13 end loop; 14 -- add { and } around each reserved word: 15 for r in 16 (select keyword, 17 ' ' || keyword || ' ' keyword2 18 from v$reserved_words) 19 loop 20 v_string := replace (upper (v_string), r.keyword2, ' {' || r.keyword || '} '); 21 end loop; 22 return ltrim (rtrim (v_string)); 23 end format_string; 24 / Function created. SCOTT@orcl_11gR2> show errors No errors. SCOTT@orcl_11gR2> -- example of usage of function: SCOTT@orcl_11gR2> select format_string ('B und V') from dual; FORMAT_STRING('BUNDV') -------------------------------------------------------------------------------- B UND V 1 row selected. SCOTT@orcl_11gR2> SCOTT@orcl_11gR2> -- query modified to apply foramt_string function to :name variable: SCOTT@orcl_11gR2> var name varchar2(80); SCOTT@orcl_11gR2> exec :name := 'B und V' PL/SQL procedure successfully completed. SCOTT@orcl_11gR2> column first_name format a10 SCOTT@orcl_11gR2> column middle_name format a11 SCOTT@orcl_11gR2> column last_name format a9 SCOTT@orcl_11gR2> column phone format a12 SCOTT@orcl_11gR2> column email format a22 SCOTT@orcl_11gR2> select first_name, middle_name, last_name, phone, email, scr 2 from (select /*+ FIRST_ROWS */ 3 first_name, middle_name, last_name, phone, email, score(1) scr 4 from emp 5 where contains 6 (first_name, 7 'ndata (phone,' || format_string (:name) || ') OR 8 ndata (email,' || format_string (:name) || ') OR 9 ndata (fullname,' || format_string (:name) || ')', 10 1) > 0 11 order by score (1) desc) 12 where rownum <= 10; FIRST_NAME MIDDLE_NAME LAST_NAME PHONE EMAIL SCR ---------- ----------- --------- ------------ ---------------------- ---------- Jane Doe B & V 321-654-0987 [email protected] 97 1 row selected. SCOTT@orcl_11gR2> -
How to use wildcards to search for e-mail addresses.
Hi all
We have a great html site and we need to search all pages to find all built-in e-mail addresses. We just need to make sure that all the addresses on the site are always topical. I tried to use a regex search such as @[\w\W]*?com but the problem is that it will find a great piece of code that starts by the @ and somewhere later ends with the.] com For example this piece of code would be returned using this search:@import url("./menu.css");
< / style >
< link hand. CSS"rel ="stylesheet"type =" text/css"/ >
< link href = "layout.css" rel = "stylesheet" type = "text/css" / > "
< link href =' http://fonts.googleapis.com/CSS?family=cabin:700,400 ' rel = "stylesheet" type = "text/css" >
"< script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js "> < / script >
< / head >
< body class = "gradient b" >
< div class = "container" >
< div class = "header" >
< div style = "width: 195px; "" float: left "> < a href =" http://www.SiteName.com " " "
Can someone suggest a better expression of search to find all email addresses on the site? BTW, all used addresses do not necessarily belong to the same domain name, so I can't limit the search string to that. And I realize that I probably repeat the search for .net, .org, etc.
I am close, or is it just not possible?
Thank you
CJJust add them to the final list in parentheses, separated by a vertical bar.
There are now a large number of top-level domains. If the OP needs a regex more complete, I'll be happy to oblige. But it would be useful to know which TLDs are likely to be needed in research. Otherwise, the regular expression becomes heavy.
-
Stop the search for the missing files from LabVIEW
Is there a way to prevent the search for lack of screws LabVIEW? If I load a VI and one of its dependencies is spent, I want LabVIEW to fail immediately and to wonder where is the file.
What version of LabVIEW are you using?
Just hit ignore. It stops to load files that it cannot find and load than it can.
-
My computer (explorer.exe) continues the search for readers/records.
Hi experts, I need help on my PC.
After working with my PC for several hours and minutes when I click/Open 'My Computer' it continues the search for my hard drives and folders in libraries, favorite & computer. He just continues to research and does not display my partition/HARD drive. http://i793.Photobucket.com/albums/yy217/aznix2020/Untitled.PNG
However, its not freezing or hang up and I can always open my drives/folders by using the command run and after a while it will work fine again.
Is not a serious problem at the moment because it works well after a while but it's a hassle.
Also im wondering if this is my drive display relationships safely remove HARD in the options in the task bar. Although the option remove appear for less than a month before I encountered this problem.
My PC is win7 32 bit sp1. Thanks in advance.This problem can be caused by a video driver obsolete or damaged, file system on your PC can be damaged or do not correspond with other files and certain applications or services that are running on your computer may be responsible for Windows Explorer to stop working.
Refer to the following suggestion and check the status of the issue.
Install the following update and check if that helps
Windows Explorer may hang in Windows 7 or in Windows Server 2008 R2.
https://Support2.Microsoft.com/kb/2515325?WA=wsignin1.0
If the problem persists, see the suggestions mentioned in the following and check the status of the issue
Error: Windows Explorer has stopped working.
http://support.Microsoft.com/kb/2694911
Note: Before you perform an upgrade in-place, you must be prepared for the worst scenarios that led to your existing data on your computer being deleted. These data include data personal, settings, information about the hardware and software drivers. In case of a worst case scenario, you may have to reinstall all the programs. Make sure that you back up personal data to disks or other external storage devices before performing an upgrade on the spot.
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.
Please let us know if you need assistance.
-
e-mail Outlook 2013 index is not in the search for a window 7
Dear all
Research of a window does not work correctly.My emails are not yet indexed and watch not when he search with the search for a windowPlease help me what I can do to fix thisThanks in advanceRAM kishanso -
Use instr to search for multiple values
Hello
My version of Oracle DB is 10.2.0
I have a file of text separated by delimiters. The text file has 14 columns, and in each column, I have to check the presence of the following
RV, RV, RV, GV, GV, GV.
The sample file contains the following
51151111; 28.18.11; 14711119; 512-GV; 821949,39; 1223,21; 471,49; 821197,29; ABC; 1; 27.18.11; 13
The following code is for the search for GV
How can I search for other cases?FUNCTION FUNC_FIND_GV (p_str IN VARCHAR2) RETURN NUMBER AS l_gv_pos NUMBER ; begin l_gv_pos := INSTR(p_str, 'GV') ; RETURN l_gv_pos ; EXCEPTION WHEN OTHERS THEN l_gv_pos := 0; RETURN l_gv_pos END FUNC_FIND_GV ;
Hello
You can use regular expresssions to find one a |-at the same time delimited list.
For example:SELECT REGEXP_INSTR ( p_str , '(RV|RV-|RV/|GV|GV-|GV/)' ) AS match_pos FROM ... ;
It is unnecessary to search for one of the 'RV', 'RV' - and ' RV /'; hot for just 'RV' will give the same results. However, it does no harm real, so if you build the list ' RV | RV | RV / | GV | GV | GV /' dynamically, so you don't have to check for duplicates.
I hope that answers your question.
If this isn't the case, post CREATE TABLE and INSERT statements for some examples of data and the results desired from these data. -
I want to uninstall a toolbar that has been the result of the search for something specific
Hello
I want to uninstall a toolbar that has been the result of the search for printable piano music.
I uninstalled the stuff accompanying this research but I can't get rid of the toolbar. Can I just download an another toolbar as C.NET or what?I have a Dell dimension 4700 desktop, XP and I have ' yet to learn through this forum help and everyone.
Thank you
Gina Davis
Original title: how to uninstall toolbat Inbox
(IE unknown version)
Hello
Tools are what bar you referring? That's a browser or another program?
Method 1:
Run this fixit to remove it completely.http://support.Microsoft.com/mats/Program_Install_and_Uninstall/Method 2:
You can uninstall the toolbar by following the steps below:
a. open your Internet browser.
b. click on 'Tools' then 'Add-ons' in IE; Click on "Tools" and "Manage Add-ons."
c. find the add-on "Toolbar" in the list of available modules.
d. remove the add-on toolbar in Internet Explorer, select the toolbar and click "disable".
If you want to remove the toolbar, you can do this by uninstalling it in Add or remove programs. -
Original title: the registry settings used by the iTunes for importing and burning CDs and DVDs are missing. This can occur as a result of installing other CD burning software. reinstall iTunes
I've loaded and discharged Itunes 5 times and still get the same error message box. This error does exactly what he says, I can not burn anything in my itunes library. ITunes worked great in XP-3 no problems. It will not work on Windows 7-64. I can download and play songs from any site, but can not burn anything. And I don't have any other burning software on my CD PC
Hello PohlCat,
Given that you have uninstalled and reinstalled iTunes without correcting the problem, it may be with a 3rd party product causes a problem.
I would look at the post here to see if this solution can help you. It's from a 3rd third party site, you should use at your own risk, because it has not been tested, but seemed to help others with the same error that you are experiencing.
Please reply back and let us know if this can help.
Sincerely,
Marilyn
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
Windows 7 continues the search for updates
Recently, I have restored my laptop to factory settings, and after you install the service pack 1 update, this does not block the search for updates. I tried everything on this site but without success. Help, please. Thank you.
The installation of the plant is the worst possible Windows, that no tech fan would go because of the bloatware and installation utility factory duplicate that interfere with better integrated in the operating system versions. Corruption as it is so just wait until you make a clean reinstall Windows 7 .
If you want to try to wrestle with the factory install, so first thing I "d to recover some lost performance is Clean Up Factory Bloatware. " It also checks and fix the integrity of the installation itself, which is not only limited but damaged by bloatware.
Then, if the problem run the troubleshooting Windows Update - Microsoft Windows Help tool
Then, try to Reset Windows Update components.
Finally, as a last resort, run the System Update tool .
Let us know how it goes and if there are any questions or problems.
-
Determine the maximum use of the processor for a virtual computer in the custom user interface
I want to determine the maximum use of the processor for a virtual computer in the custom user interface. How can I do this?
If I use a supermetric, there is no kind of attribute under CPU called "maximum use.
Certainly, you get points for a long question! Although to be fair, it's probably my fault to feed you so much information to digest at once.
1. I would say you can do two ways visually. Use the operations > detail view for 'normal ranges' use the upper limit of the normal range as your typical max. You want an absolute peak, add the metric of a graph or observe that highlight high and low watermarks.
2. There are a lot of ways to display data, but if you want to display a single metric over a period of time, we could use the following widgets [on top of my head]:
Top - N analysis
Weather map
Analysis of distribution of data
Among these, I think of your desire for a "peak". Who you want real value, which eliminates the weather map. Then, I think that the concept of a 'Summit' and what is the best thing, I think that the 95th percentile... then I came with the widget of data distribution. The decision is ultimately yours given your particular use case.
3. you can have it apply to several virtual machines - it's just a widget capable of being an independent provider or receiving widget (metrics, DO NOT choose to select resources). Each resource/metric will add to the widget and you can remove them if you like after it is added. You can certainly all the time you visit... It is date and time standard options you have in all the other widgets chart. With the widget data distribution, you want as much time as possible to get an accurate histogram of the cycles of workload.
4. This is similar to the question above. You can certainly add parameters of individual resource or a DM that summarizes or AVG groups of resources. And as above, the delay is configurable, along with the other graph widgets.
5. it's part of Q4 - you can sumN or avgN up to any number of resources with a SM, then discovers that SM in the widget of data distribution. When I said container, I mean an application, group resource pool... all that acts as a container parent within the vCOps.
6. that's correct, SMs calc using data collected last points... aka single period of time. When you are referring to the longest period, I gave you a few examples of the attributes that are composed of several periods of time which are calculated and created by the adapter for VMware vCenter behvaior. In this case, you have the GVA 15 min CPU 1.5; These specific simple mobile GVA can be specific OR a copy using SMs. Next, you will have the chance is to find a way to distribute what you need through a widget [at that time].
7. the distribution of data is not for export, it is for Visual functions. If you want the data in CSV, just use a typical chart of metrics and export to a csv and calc your own pics, avg, 95th, whatever.
8. This is a bit of a mix of all your questions, put in place.
You are right, if you added those 3 VMs, then calc was the 95th of the AVG. Like Q7, you would not export the data of the distribution of data because the raw data points are not - you do not pass the metric to a metric graphics standard and export via csv.
Take advantage of...
-
has someone at - he found a solution to the search for global marker?
has someone at - he found a solution to the search for global marker?
the glaring omission of global search for markers - or exclusion of metadata to the project search function marker - is a big handicap for any project of long form doc.
Is there a work around or maybe a plan to remedy this bizarre situation in an upgrade?
big fan of the first, and even if there is plenty of downturns, it seems as if there is always planned if solutions non-existent
Thank you!
Hi Charliepus,
Sorry about that. Create a feature here: http://adobe.ly/feature_request
Thank you
Kevin -
When you use the search for a window, the files are not listed in the search index
Original title: question of Windows search
When you use windows search, records that are not not in the search index are searced. Why?
Hello
1. What is the operating system installed on your computer?
2 are there any changes made recently to the computer?
Improve Windows searches using the index: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Improve-Windows-searches-using-the-index-frequently-asked-questions
You can also check:
Reconstruction of Index of Microsoft Windows 7 search: http://windows.microsoft.com/en-US/windows7/Change-advanced-indexing-options
Advanced Tips for searching in Windows
http://Windows.Microsoft.com/en-us/Windows7/advanced-tips-for-searching-in-Windows
I hope this helps.
-
I left all the Google services currently, I used Gmail, Chrome, etc... due to the recent sale of information to the Gov't and what not and even though she may or may not be true I'm sure and switched to Firefox and a different email provider. In any case so far, I like Firefox I use DuckDuckGo as my current default search and I would use as my search engine when I type a search in the address bar, by default it is Google, how can I change to a search provider I want as DuckDuckGo?
Hello
If you have installed DuckDuckGo on Firefox, you can follow these steps:
- Type of topic: config in the address bar.
- A warning appears, click on "I'll be careful, I promise!
- Type browser.search.defaultEngine in the search at the top of the page box.
- Double-click the item that appears.
- Set the value to DuckDuckGo or any search engine you want to use (the case I think).
(I have attached a screenshot).
Maybe you are looking for
-
Hi all I have an application in which I send the sequence of commands to unit and reading back answer, for all orders there is a name assigned. Now I use listbox to display all this and I am able to write all the names of sequence test to the listbox
-
How to create a family on Windows Vista Edition system repair disc?
I can't find how to on Windows Vista Home Edition to create a startup disk. How can I do this? Thank you!
-
Store persistent with auto-start system module
I would like to persist a vector of strings through the cycles of power of the device for my application access. I have two questions that relate to this, the first is: what method should I use to commit this vector in the persistent store? (ie. in a
-
BlackBerry Smartphones Can you enable bold 9700 on BES10
Can we enable Bold 9700 on a BES 10 Server?