git add -A : It will stage all changes git add . : It will stage new files and modifications, without deletions git add -u: It will stage modifications and deletions, without new files Let me elaborate it a bit: git add -A is equivalent to git add . and git add -u git add . will look at the working tree. Then it will…
Salesforce
Answered Feb 23, 2021
·
1.4K Views
Read answer →
Ingress is basically used to expose kube clusters to the outside world. Let say, an application is running at port 38282 on kubernetes cluster then the url to access the service will be like - http://:38282 However, you would not like the user’s to remember the port. Hence, to overcome this it's quite smart to use a…
Devops
Answered Feb 28, 2020
·
1.8K Views
Read answer →
Below are the step by step procedures on how to set up ingress. STEP 1: Creating a backend service to expose via ingress. kubectl create -f hello-world.yaml Created resources can be seen using below command - kubectl get all |grep hello-world STEP 2: Creating self-signed certificate using openssl. kubectl create…
Devops
Answered Feb 24, 2020
·
1.8K Views
Read answer →
Sending notifications are very important aspects of any monitoring system. This is the only way via which users or groups of user’s get notified about the status of enabled services. Hence, creating an effective notification is of utmost importance. The alerts should be set in such a way that only the meaningful…
Devops
Answered Dec 30, 2019
·
1.5K Views
Read answer →
Via check_disk plugin (offered by Nagios exchange) various types of disk checks can be performed like - disk usage, inode utilization, file count, RAID array status, directory size etc. Such a check can be included in basic monitoring of every host added. Such kind of checks share various benefits - Failed job…
Devops
Answered Dec 30, 2019
·
1.6K Views
Read answer →
The services check enabled in Nagios GUI can be checked via nagios command line also, these commands need to be executed on Nagios server. The plugins enabled/installed on the server can also be directly executed to check the results. All, plugins are installed by default at - /usr/local/nagios/libexec/ The same can…
Devops
Answered Dec 30, 2019
·
2.0K Views
Read answer →
Nagios triggers notifications whenever a service check fails after no. of re_check attempts are completed and still the state of service doesn’t change from DOWN to UP. Then these notifications are triggered to associated contacts or contactgroups. Once the notification is sent,again the same will be triggered after…
Devops
Answered Dec 29, 2019
·
1.8K Views
Read answer →
Nagios uses plugins to monitor service or group of services (known as service groups). Plugins are basically scripts or executables, which when executed provides an output that is passed to the Nagios server to check with the mentioned or stated output (configured at the time of configuring service). If the output…
Devops
Answered Dec 28, 2019
·
1.2K Views
Read answer →
Any service can be restarted via Nagios at schedule time using event handlers. First, Define an event handler in Nagios. Second, define specific command under commands.cfg file ensuring nrpe_event handler exists on remote hosts. Restarting nagios. Via this way the associated command will be executed at remote hosts.
Devops
Answered Nov 17, 2019
·
880 Views
Read answer →
Any no. of hosts or services can also be checked at predefined time/date/day irrespective of Nagios default timing schedule. Let’s say there is a database service check is enabled, and the service changes it state only at specific time/data and then the “changed state” need to be monitored by Nagios at the particular…
Devops
Answered Nov 7, 2019
·
784 Views
Read answer →
NRDP (Nagios remote Data processor) is a php-bases passive result collector for Nagios. Via NRDP any remote agents/applications etc. have capability to submit commands on Nagios server. Its capabilities can be extended by the use of more plugins available within Nagios exchange. Installation- Download tar ball via -…
Devops
Answered Nov 5, 2019
·
1.2K Views
Read answer →