Skip to content

Tag: ubuntu

Implement Nagios Topography to avoid over-alerting

How to Implement Nagios Topography to avoid over-alerting. Also how can we improve nagios performance to get avoided from fake alerts. Answer You can use host and service dependency definition in your configs. For example: dependent_service_description CPU Load These are the service that are dependent on the …

Linux tr command not working as expected

I have this password generator: Which works fine as follows: But fails as follows: The tr command is explicitly saying: remove all characters which do not belong to the given set Thus the characters , and . are unexpected. Where do they come from? Answer There’s also another part of tr’s man page …

Nginx returns 404 not found when access file on server

I have a server(Ubuntu 16.04) and a user called coxier. I configure Nginx to Proxy Requests. I create a file etc/nginx/sites-available/myproject. In this flask project, server receive request and then generate a .gif file for this request. At first I directly I use flask#send_file to send gif file about 1MB, …

What does “-y” flag do? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

How to run command CTRL+Z in Shell?

I have a Node progress. I want to auto-start it and keep it in background via a shell script. The way I keep background progress is press crtl+Z after run npm run start, then run bg && disown. Now I’ve got a problem: How to process this crtl+Z command in Shell script? Answer Another way to run a…

COTson linux installation

I’m new in linux, and i know that this should be a stupid question, but i didn’t find anything over the internet, so i decide to ask it here: During the configuration of the COTson program using this line of code it gives me an error: CODE: ./configure –simnow_dir ../simnow-linux64-4.6.2pub …