Install and configure ntopng

Below I’ll describe the installation of ntopng in Ubuntu.
We select the necessary package on http://packages.ntop.org/apt-stable/ and download it:

wget wget http://apt-stable.ntop.org/16.04/all/apt-ntop-stable.deb
sudo dpkg -i apt-ntop-stable.deb

Further we carry out:

sudo apt-get clean all
sudo apt-get update
sudo apt-get install pfring nprobe ntopng ntopng-data n2disk nbox
sudo touch /etc/ntopng/ntopng.start
sudo /etc/init.d/ntopng restart

If new versions of ntopng are released, then you can update by running the commands:

sudo apt-get update
sudo apt-get upgrade

After installation, the configuration file will be located in the /etc/ntopng/ntopng.conf directory
I will give an example of its content:

-w=3000
-d=/var/tmp/ntopng
-G=/var/run/ntopng.pid
--httpdocs-dir /usr/share/ntopng/httpdocs
--local-networks="192.168.0.0/16,10.0.0.0/8,172.16.0.0/16"

Restart / stop / start ntopng with commands:

sudo /etc/init.d/ntopng restart
sudo /etc/init.d/ntopng stop
sudo /etc/init.d/ntopng start

You can check from the console with the command:

sudo /etc/init.d/ntopng status
sudo netstat -tulpn | grep :3000

Open the web interface by typing in the address bar of the browser:
http://HOST:3000

The standard login and password are admin/admin.

See also:
Install and configure nprobe
The solution to the error “Missing /etc/ntopng/ntopng.start. Quitting”

SNMP OIDs for the HP 5800 Switch

I’ll list some of the OIDs I used:
Determine the OID of the processor load by running the command in Linux:

snmpwalk -v 2c -c сommunity host .1.3.6.1.4.1.25506.2.6.1.1.1.1.6
snmpwalk -v 2c -c сommunity host .1.3.6.1.2.1.47.1.1.1.1.7

As a result of the execution of the first command, a list of OIDs will be displayed, those in which a value greater than 0 means CPU loading. If the switches are stacked, then the OID with a value greater than zero will be greater than one. The second team is looking at the description, ours will be “Board”.

Determine the OID of memory usage:

snmpwalk -v 2c -c сommunity host .1.3.6.1.4.1.25506.2.6.1.1.1.1.8

Determine the OID of the temperature:

snmpwalk -v 2c -c сommunity host .1.3.6.1.4.1.25506.2.6.1.1.1.1.12

OID to view the ARP list:

.1.3.6.1.2.1.3.1.1

We look in what vlan are ip:

.1.3.6.1.2.1.2.2.1.2

See also:
SNMP OID and MIB for interfaces

When is it necessary to activate Long Range PtP Link Mode on airMAX?

In normal mode, airMAX sends a confirmation frame (ACK) after receiving the data frame, but at longer distances, it is better to disable this mechanism by setting the Long Range PtP Link Mode checkbox in the settings.

Depending on the channel width, the distance at which you want to turn on the Long Range PtP Link Mode can be different.

40MHz: 16.5 miles (26.5 km)
20MHz: 35.6 miles (57.3 km)
10MHz: 72.3 miles (116 km)
5MHz: 144.7 miles (232.9 km)

Note: this information does not apply to airOS 7, there is another timeout ACK algorithm.

Solving the Zabbix problem “icmp pinger processes more than 75% busy”

Message “Zabbix icmp pinger processes more than 75% busy” it means that the process or processes performing ping hosts are overloaded.
To solve this problem, you need to open the zabbix server configuration file, for example, via the nano editor:

sudo nano /etc/zabbix/zabbix_server.conf

Next, find the parameter StartPingers in it, if it is 1 and commented out, then you can increase it for example by 5 and uncomment (remove the # symbol before it).
By this we increase the number of processes performing ICMP Ping, accordingly the load will be distributed and reduced.
To save changes in the nano editor, use the keyboard shortcut Ctrl+O, then Enter. To exit Ctrl+X.

After the manipulations, you must reboot the Zabbix server with the command:

service zabbix-server restart

Also, the load can be reduced by increasing the “Update interval” in the template parameters. To do this, go to the Zabbix Web interface under the administrator and click Settings – Templates, select the “Data items” on the required template, open the ping data item and find the “Update interval (in sec)“. The values of 180 (three minutes) or more I think is quite enough.

Solving the error while saving the game Alien: Isolation

I noticed that when executing the process of saving the game Alien: Isolation, an error might occur with the following text:

There has been an error while accessing the hard disk cache of the game. The game will return to the Main Menu

So it is solved simply, it is necessary to run the game on behalf of the Administrator. To do this, we right-click on the game shortcut and select “Run as administrator“.
In order to keep this constant, you can right-click on the shortcut, select “Properties“, open the “Compatibility” tab in the opened window and tick “Run this program as an administrator, click “OK“.

Done, errors should not be.

How to cancel the application download in the App Store on a MacBook

Today, in the App Store on the MacBook, I clicked on the download button for one large application, then changed my mind, and the cancel button is not displayed normally, there is only a pause.

To cancel, you need to open the “Purchase” tab in the App Store and press the “Alt” key on the keyboard, then the “Cancel” clicking on which you can cancel the download.

Done.

See also the video:

Solving the hang problem in Outlast on MacOS

I noticed once that the game downloaded via Steam Outlast after the successful launch and the loser of the introductory video hangs.

As it turned out, a bug in Russification and judging by everything for a long time, that is, with every appearance of captions in Russian, there is a hangup when it is not known to correct it.

To solve a problem it is possible switching in the settings of the game itself the language for example in English, after that there should be no freezes.

In the case of a black screen at startup, you can wait a bit, then try to minimize Outlast by pressing Command+Tab and turn it back.

IT Blog © 2013-2024, Privacy Policy