Search found 12 matches

by cabryk
Thu Jan 26, 2017 1:16 am
Forum: Open Source Nagios Projects
Topic: CPU load is measured accurately?
Replies: 3
Views: 1559

Re: CPU load is measured accurately?

Plugin is

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.1.12 -p 12489  -v CPULOAD -l 5,80,90')
5 min average
Monitored machine have 4 logical processors
by cabryk
Wed Jan 25, 2017 8:55 am
Forum: Open Source Nagios Projects
Topic: CPU load is measured accurately?
Replies: 3
Views: 1559

CPU load is measured accurately?

Hello, I would like to ask how is obtained value of the CPU load. I tried "challenging task" for the CPU and I received values ​​less than ten percent. CPU performance on the monitored machine was over 60 percent. The duration was over 10 minutes. This would exclude average of measuring va...
by cabryk
Thu Jan 19, 2017 2:18 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

I successfully installed MRTG. I found a bug in cron.
But the graph does not correspond with my idea.
I will go through cron + php + mysql + js
Thans for all advice
by cabryk
Mon Jan 16, 2017 6:42 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

part 2 of php.ini ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 2M ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; ; Whether to allow the treatme...
by cabryk
Mon Jan 16, 2017 6:36 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

I`m trying this with "virgin" instalation via Hyper-V virtual machine and no other apps I have this files /etc/php/7.0/apache2/php.ini /etc/php/7.0/cli/php.ini /etc/php/7.0/apache2/php.ini : [PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; PHP's initialization file, genera...
by cabryk
Fri Jan 13, 2017 2:01 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

I tried these options (MRTG, pnp4nagios and nagiosgraph), but not know well in Linux. I think I have an mistake in configuring Apache. php + datasource is easy for me. mkdir -p /usr/local/src/nagiosgraph/ cd /usr/local/src/nagiosgraph/ wget http://downloads.sourceforge.net/project/nagiosgraph/nagios...
by cabryk
Thu Jan 12, 2017 8:09 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

I want to show my own GRAPH. And i need data source. This is output of cat DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME=&q...
by cabryk
Tue Jan 10, 2017 10:06 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Re: Connect to nagios database

And how data is stored?

Code: Select all

'/usr/local/nagios/var/nagios.log' 
only?
by cabryk
Tue Jan 10, 2017 6:03 am
Forum: Open Source Nagios Projects
Topic: Connect to nagios database
Replies: 12
Views: 31368

Connect to nagios database

Hello Everybody, I`m trying connect to nagios database. I want use something like this: <?php $servername = "nagios"; $username = "nagios"; $password = "nagios"; $conn = mysqli_connect($servername, $username, $password); if (!$conn) { die("Connection failed: "...
by cabryk
Tue Jan 10, 2017 1:36 am
Forum: Open Source Nagios Projects
Topic: Event handler – win service restart
Replies: 4
Views: 1483

Re: Event handler – win service restart

Code: Select all

event_handelr_enabled 1
and restart nagios
This is a problem. I´m forgot it.