Sponsored Content
Full Discussion: Docker learning Phase-I
Special Forums UNIX and Linux Applications Docker Docker learning Phase-I Post 303028385 by MadeInGermany on Sunday 6th of January 2019 03:17:44 PM
Old 01-06-2019
Yes I scond "Containers". Docker and others to be mentioned in the short description.
Some years ago there was a discussion "Nagios" versus "Infrastructure Monitoring"...
 

8 More Discussions You Might Find Interesting

1. Solaris

init phase

Hello, Can somebody explain me the relationship between /sbin and /etc directories ? what is the relationship between them and what are the roles of files such as rcd.1 etc? (1 Reply)
Discussion started by: saudsos
1 Replies

2. Linux

Docker and pipework,ip with other subnet

Recently i found this for give to docker a "personal" ip ip addr del 10.1.1.133/24 dev eth0 ip link add link eth0 dev eth0m type macvlan mode bridge ip link set eth0m up ip addr add 10.1.1.133/24 dev eth0m route add default gw 10.1.1.1On container i did ... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

3. What is on Your Mind?

Prototyping New Responsive Mobile for UNIX.COM - Phase II

Have completed "Phase I" of our project "Prototyping New Responsive Mobile UNIX.COM", I am now moving to "Phase II" which will be changing many of the menus and buttons to use Javascript and CSS for the mobile site menus. For example, here is the new "main side menu" for the mobile site (below).... (63 Replies)
Discussion started by: Neo
63 Replies

4. Shell Programming and Scripting

Problem in extracting yocto SDK for docker

Actually I was facing the following issue while building my Yocto SDK on Docker container sudo docker build --tag="akash/eclipse-che:6.5.0-1" --tag="akash/eclipse-che:latest" /home/akash/dockerimage.yocto.support/ Sending build context to Docker daemon 26.93MB Step 1/5 : FROM eclipse/cpp_gcc ... (3 Replies)
Discussion started by: Akash BHardwaj
3 Replies

5. UNIX for Beginners Questions & Answers

Can't pass a variable representing the output of lsb_release to a docker dontainer

I don't know why, but the rendering of my code mucks up the spacing and indentation, despite being correct in the original file. I'm having issues getting the following script to run (specifically the nested script at the end of the docker command near the end of the script; I think I'm not passing... (2 Replies)
Discussion started by: James Ray
2 Replies

6. War Stories

Postbit Changes (Phase II Upgrade)

Next in the pipeline, thinking I will work on postbit (the core of the posts) and try to get Bootstrap and badges working in postbit and not break the quick editors in the post. Note, I had to turn off the scrollbars in postbit for now because when I turn them on, it breaks the quick editor in... (11 Replies)
Discussion started by: Neo
11 Replies

7. Shell Programming and Scripting

XML Phase with awk

Hi Guys, Input XML File :- <managedObject class="RMOD_R" distName="MRBTS-101/X/R-7"> <list name="activeCellsList"> <p>15</p> <p>201</p> </list> <p name="aldManagementProtocol">True</p> <p name="serialNumber">845</p> </managedObject> Output :- ... (5 Replies)
Discussion started by: pareshkp
5 Replies

8. What is on Your Mind?

Update to Advanced Search Page (Phase 1)

Update: I have completed the first phase of revamping the "Advanced Search" page using Bootstrap (desktop not mobile yet): https://www.unix.com/search.php https://www.unix.com/search.php I may change this to a Bootstrap modal later and change the CSS a bit more; but for now it is much... (0 Replies)
Discussion started by: Neo
0 Replies
Monitoring::Availability(3pm)				User Contributed Perl Documentation			     Monitoring::Availability(3pm)

NAME
Monitoring::Availability - Calculate Availability Data from Nagios / Icinga and Shinken Logfiles. SYNOPSIS
use Monitoring::Availability; my $ma = Monitoring::Availability->new(); DESCRIPTION
This module calculates the availability for hosts/server from given logfiles. The Logfileformat is Nagios/Icinga only. REPOSITORY
Git: http://github.com/sni/Monitoring-Availability CONSTRUCTOR
new ( [ARGS] ) Creates an "Monitoring::Availability" object. "new" takes at least the logs parameter. Arguments are in key-value pairs. rpttimeperiod report timeperiod. defines a timeperiod for this report. Will use 24x7 if not specified. assumeinitialstates Assume the initial host/service state if none is found, default: yes assumestateretention Assume state retention, default: yes assumestatesduringnotrunning Assume state during times when the monitoring process is not running, default: yes includesoftstates Include soft states in the calculation. Only hard states are used otherwise, default: no initialassumedhoststate Assumed host state if none is found, default: unspecified valid options are: unspecified, current, up, down and unreachable initialassumedservicestate Assumed service state if none is found, default: unspecified valid options are: unspecified, current, ok, warning, unknown and critical backtrack Go back this amount of days to find initial states, default: 4 showscheduleddowntime Include downtimes in calculation, default: yes timeformat Time format for the log output, default: %s verbose verbose mode breakdown Breakdown availability into 'months', 'weeks', 'days', 'none' adds additional 'breakdown' hash to each result with broken down results METHODS
calculate calculate() Calculate the availability start Timestamp of start end Timestamp of end log_string String containing the logs log_file File containing the logs log_dir Directory containing *.log files log_livestatus Array with logs from a livestatus query a sample query could be: selectall_arrayref(GET logs... Columns: time type options, {Slice => 1}) log_iterator Iterator object for logentry objects. For example a L<MongoDB::Cursor> object. hosts array with hostnames for which the report should be generated services array with hashes of services for which the report should be generated. The array should look like this: [{host => 'hostname', service => 'description'}, ...] initial_states if you use the "current" option for initialassumedservicestate or initialassumedhoststate you have to provide the current states with a hash like this: { hosts => { 'hostname' => 'ok', ... }, services => { 'hostname' => { 'description' => 'warning', ... } } } valid values for hosts are: up, down and unreachable valid values for services are: ok, warning, unknown and critical get_condensed_logs get_condensed_logs() returns an array of hashes with the condensed log used for this report get_full_logs get_full_logs() returns an array of hashes with the full log used for this report BUGS
Please report any bugs or feature requests to http://github.com/sni/Monitoring-Availability/issues <http://github.com/sni/Monitoring- Availability/issues>. DEBUGING
You may enable the debug mode by setting MONITORING_AVAILABILITY_DEBUG environment variable. This will create a logfile: /tmp/Monitoring-Availability-Debug.log which gets overwritten with every calculation. You will need the Log4Perl module to create this logfile. SEE ALSO
You can also look for information at: o Search CPAN http://search.cpan.org/dist/Monitoring-Availability/ <http://search.cpan.org/dist/Monitoring-Availability/> o Github http://github.com/sni/Monitoring-Availability <http://github.com/sni/Monitoring-Availability> AUTHOR
Sven Nierlein, <nierlein@cpan.org> COPYRIGHT AND LICENSE
Copyright (C) 2010 by Sven Nierlein This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-21 Monitoring::Availability(3pm)
All times are GMT -4. The time now is 10:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy