eli
  • Member for 6 years, 6 months
  • Last seen more than a week ago
2 answers
3 votes
3k views
postgresql+ansible: how to create tables?
2 votes

As of now (01/2020) there is a module available: https://docs.ansible.com/ansible/latest/modules/postgresql_table_module.html (but it depends on python package "psycopg2" or alternative "psycopg2-...

View answer
15 answers
101 votes
281k views
How do I find if there is a rogue DHCP server on my Network?
2 votes

on debian/ubuntu one also has the options to use dhcpdump and/or tcpdump with the help of e.g. dhclient Use dhcpdump: 1.a) run dhcpdump -i eth0 in one shell/shell (eth0 or the name of your interface)...

View answer
3 answers
1 votes
9k views
"Logical volume in use" -- cannot remove logical volume
1 votes

I think the main mistake was to execute lsof/fuser on the device-file "/dev/xen3-vg/deleteme" and not on the mount-point (e.g.: "/mnt/myDataMount"). (Thats misleading and I also tripped into it: but ...

View answer
2 answers
0 votes
4k views
Check if ports are allowed in Firewall ubuntu
1 votes

If you configure all your firewall setting with ufw, then ufw status would show you the ports. But sometimes (in my experience) this doesn't show all configured firewall ports and options. You would ...

View answer
5 answers
3 votes
7k views
What do I need to enable to run sar -d?
1 votes

in debian based systems you have to set SA1_OPTIONS="-S DISK -S POWER -S ..." in /etc/sysstat/sysstat You can also set -S XALL to collect all information see man 8 sdac - there is also the following ...

View answer
1 answers
1 votes
1k views
How to make icinga plan a active check every night?
Accepted answer
1 votes

This should be possible... 1.Create a TimePeriod, e.g. in timeperiods.conf object TimePeriod "3to5" { display_name = "Icinga 2 3to5 TimePeriod" ranges = { "monday" = "03:00-5:00" ...

View answer
1 answers
1 votes
89 views
How to create a directory with rex
Accepted answer
1 votes

I think the documentation in the rex book is a little older. Please take a look here https://www.rexify.org/docs/api/ or (as of today) the most current docs here: https://www.rexify.org/docs/api/1.4/...

View answer
3 answers
5 votes
19k views
Supervisor process exits with 'exit status 1; not expected'
0 votes

In my case, having the same error, I debugged it until I found out: the disk was full and I increased the diskspace to solve this. (stupid error, easy fix - maybe reading this here helps someone not ...

View answer
1 answers
-1 votes
479 views
Debian 9 give User permission for all folders
0 votes

To give a user (e.g. bob) read-permission for all folder in the /tmp/myfiles-directory: 1.) install acl: sudo apt-get install acl (after running apt-get update) 2.) give the user "bob" read-...

View answer
1 answers
1 votes
123 views
How to distribure sudoers files with REX Configuration Management
Accepted answer
0 votes

just answering the question with the workaround, mentioned in the question, since there was no new enlightenment in a year: (thx to 'xq' from #rex@freenode) copy the file to a temporary location on ...

View answer
4 answers
9 votes
15k views
IIS not displaying detailed PHP errors - shows server fault 500 instead
0 votes

I found out, that it's a good idea to access an IIS-hosted page with InternetExplorer for testing. In my case the php-error-logs where clean - got no clue from there. I got a plain non-expressive "...

View answer
6 answers
2 votes
19k views
Cant read dir of /etc/my.cnf. (Errcode: 2)
0 votes

Very strange: The failure occured also suddenly (after restarting the docker container) - in MySQL Ver 14.14 Distrib 5.7.23, Debian 9.5, Docker 17.12.1-ce Trying a lot of stuff didn't work, all ...

View answer
1 answers
1 votes
571 views
Is there a way to get the plugin output of icinga2 on the commandline?
Accepted answer
0 votes

I want to answer the question with an example: icingacli monitoring list services --host=myHostName --service=myServiceName --columns "host,service,service_output" --format='$host$: $service$ ($...

View answer
1 answers
1 votes
813 views
How to stop checks during scheduled down time in Icinga?
0 votes

This should be possible with: 1.Create the downtimer specification in ./conf.d/downtimes.conf like: apply ScheduledDowntime "backup-downtime" to Service { author = "icingaadmin" ...

View answer
2 answers
1 votes
3k views
Icinga2 : Installation Error date.timezone is not defined
0 votes

I think the timezone has to be placed in (single)quotes, like: date.timezone = 'Asia/Kolkata'

View answer