Monitoring system

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Monitoring system

Flipchan
Greetings all,

I need to install a monitoring system with email notifications, I have used mmonit which is great but it's a little too pricey for personal use.

Can anyone recommend a open source monitoring system that support email notifications and monitoring of multiple hosts running openbsd.


Something more modern then nagios would be great, I just need it to work so as long as it supports email notifications and monitoring of more then one host it's good


Thanks in advance



--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Tom Smyth
Librenms would be worth a look i believe it has email alerting
and snmp support needs php and mysql
Zabbix   ...havent used this one but it has monitoring functionality ...
If you are monitoring alot of systems, make sure your storage can
cope with alot of I/O or you will see annoying gaps in your graphs
so use SSDs and make sure that when formatting the system
that you align with 1MB offset ...  2048 sectors  (instead the default
64 bytes)

Peace
Tom Smyth


On Thu, 4 Oct 2018 at 23:57, flipchan <[hidden email]> wrote:

>
> Greetings all,
>
> I need to install a monitoring system with email notifications, I have used mmonit which is great but it's a little too pricey for personal use.
>
> Can anyone recommend a open source monitoring system that support email notifications and monitoring of multiple hosts running openbsd.
>
>
> Something more modern then nagios would be great, I just need it to work so as long as it supports email notifications and monitoring of more then one host it's good
>
>
> Thanks in advance
>
>
>
> --
> Take Care Sincerely flipchan layerprox dev



--
Kindest regards,
Tom Smyth

Mobile: +353 87 6193172
The information contained in this E-mail is intended only for the
confidential use of the named recipient. If the reader of this message
is not the intended recipient or the person responsible for
delivering it to the recipient, you are hereby notified that you have
received this communication in error and that any review,
dissemination or copying of this communication is strictly prohibited.
If you have received this in error, please notify the sender
immediately by telephone at the number above and erase the message
You are requested to carry out your own virus check before
opening any attachment.

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Tom Smyth
Both of of the ones I emailed to you are in ports

also there is pmmact by the Legend paulo Lucende
that can aggregate and convert multiple logs to different formats
worth having a look at that also ...
On Fri, 5 Oct 2018 at 04:08, Tom Smyth <[hidden email]> wrote:

>
>
> Librenms would be worth a look i believe it has email alerting
> and snmp support needs php and mysql
> Zabbix   ...havent used this one but it has monitoring functionality ...
> If you are monitoring alot of systems, make sure your storage can
> cope with alot of I/O or you will see annoying gaps in your graphs
> so use SSDs and make sure that when formatting the system
> that you align with 1MB offset ...  2048 sectors  (instead the default
> 64 bytes)
>
> Peace
> Tom Smyth
>
>
> On Thu, 4 Oct 2018 at 23:57, flipchan <[hidden email]> wrote:
> >
> > Greetings all,
> >
> > I need to install a monitoring system with email notifications, I have used mmonit which is great but it's a little too pricey for personal use.
> >
> > Can anyone recommend a open source monitoring system that support email notifications and monitoring of multiple hosts running openbsd.
> >
> >
> > Something more modern then nagios would be great, I just need it to work so as long as it supports email notifications and monitoring of more then one host it's good
> >
> >
> > Thanks in advance
> >
> >
> >
> > --
> > Take Care Sincerely flipchan layerprox dev
>
>
>
> --
> Kindest regards,
> Tom Smyth
>
> Mobile: +353 87 6193172
> The information contained in this E-mail is intended only for the
> confidential use of the named recipient. If the reader of this message
> is not the intended recipient or the person responsible for
> delivering it to the recipient, you are hereby notified that you have
> received this communication in error and that any review,
> dissemination or copying of this communication is strictly prohibited.
> If you have received this in error, please notify the sender
> immediately by telephone at the number above and erase the message
> You are requested to carry out your own virus check before
> opening any attachment.



--
Kindest regards,
Tom Smyth

Mobile: +353 87 6193172
The information contained in this E-mail is intended only for the
confidential use of the named recipient. If the reader of this message
is not the intended recipient or the person responsible for
delivering it to the recipient, you are hereby notified that you have
received this communication in error and that any review,
dissemination or copying of this communication is strictly prohibited.
If you have received this in error, please notify the sender
immediately by telephone at the number above and erase the message
You are requested to carry out your own virus check before
opening any attachment.

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Tony Boston-2
I am using Icinga2 on all our machines - you'll find it in packages and
the newest version you'll get with OpenBSD 6.4

On 10/05/18 05:09, Tom Smyth wrote:

> Both of of the ones I emailed to you are in ports
>
> also there is pmmact by the Legend paulo Lucende
> that can aggregate and convert multiple logs to different formats
> worth having a look at that also ...
> On Fri, 5 Oct 2018 at 04:08, Tom Smyth <[hidden email]> wrote:
>>
>>
>> Librenms would be worth a look i believe it has email alerting
>> and snmp support needs php and mysql
>> Zabbix   ...havent used this one but it has monitoring functionality ...
>> If you are monitoring alot of systems, make sure your storage can
>> cope with alot of I/O or you will see annoying gaps in your graphs
>> so use SSDs and make sure that when formatting the system
>> that you align with 1MB offset ...  2048 sectors  (instead the default
>> 64 bytes)
>>
>> Peace
>> Tom Smyth
>>
>>
>> On Thu, 4 Oct 2018 at 23:57, flipchan <[hidden email]> wrote:
>>>
>>> Greetings all,
>>>
>>> I need to install a monitoring system with email notifications, I have used mmonit which is great but it's a little too pricey for personal use.
>>>
>>> Can anyone recommend a open source monitoring system that support email notifications and monitoring of multiple hosts running openbsd.
>>>
>>>
>>> Something more modern then nagios would be great, I just need it to work so as long as it supports email notifications and monitoring of more then one host it's good
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>> --
>>> Take Care Sincerely flipchan layerprox dev
>>
>>
>>
>> --
>> Kindest regards,
>> Tom Smyth
>>
>> Mobile: +353 87 6193172
>> The information contained in this E-mail is intended only for the
>> confidential use of the named recipient. If the reader of this message
>> is not the intended recipient or the person responsible for
>> delivering it to the recipient, you are hereby notified that you have
>> received this communication in error and that any review,
>> dissemination or copying of this communication is strictly prohibited.
>> If you have received this in error, please notify the sender
>> immediately by telephone at the number above and erase the message
>> You are requested to carry out your own virus check before
>> opening any attachment.
>
>
>

--
GPG-KEY: 0x5C5C239D81121B35
GPG-FP:  49CC8250 CDCF2183 6209C1AE 625677C1 F7783D5F
Threema: DN8PJX4Z

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Daniel Polak
In reply to this post by Flipchan
I second Tom's recommendation of LibreNMS, it integrates well with OpenBSD.

Daniel
On 5-10-2018 00:44, flipchan wrote:

> Greetings all,
>
> I need to install a monitoring system with email notifications, I have used mmonit which is great but it's a little too pricey for personal use.
>
> Can anyone recommend a open source monitoring system that support email notifications and monitoring of multiple hosts running openbsd.
>
>
> Something more modern then nagios would be great, I just need it to work so as long as it supports email notifications and monitoring of more then one host it's good
>
>
> Thanks in advance


Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
In reply to this post by Tony Boston-2
Hey how did everyone get zabbix running I tried the zabbix MySQL with the zabbix web on 6.2 but I get a database connection error in the php , I assume the php can't read the config

On October 5, 2018 4:43:05 AM UTC, Tony Boston <[hidden email]> wrote:

>I am using Icinga2 on all our machines - you'll find it in packages and
>the newest version you'll get with OpenBSD 6.4
>
>On 10/05/18 05:09, Tom Smyth wrote:
>> Both of of the ones I emailed to you are in ports
>>
>> also there is pmmact by the Legend paulo Lucende
>> that can aggregate and convert multiple logs to different formats
>> worth having a look at that also ...
>> On Fri, 5 Oct 2018 at 04:08, Tom Smyth <[hidden email]>
>wrote:
>>>
>>>
>>> Librenms would be worth a look i believe it has email alerting
>>> and snmp support needs php and mysql
>>> Zabbix   ...havent used this one but it has monitoring functionality
>...
>>> If you are monitoring alot of systems, make sure your storage can
>>> cope with alot of I/O or you will see annoying gaps in your graphs
>>> so use SSDs and make sure that when formatting the system
>>> that you align with 1MB offset ...  2048 sectors  (instead the
>default
>>> 64 bytes)
>>>
>>> Peace
>>> Tom Smyth
>>>
>>>
>>> On Thu, 4 Oct 2018 at 23:57, flipchan <[hidden email]> wrote:
>>>>
>>>> Greetings all,
>>>>
>>>> I need to install a monitoring system with email notifications, I
>have used mmonit which is great but it's a little too pricey for
>personal use.
>>>>
>>>> Can anyone recommend a open source monitoring system that support
>email notifications and monitoring of multiple hosts running openbsd.
>>>>
>>>>
>>>> Something more modern then nagios would be great, I just need it to
>work so as long as it supports email notifications and monitoring of
>more then one host it's good
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>>
>>>> --
>>>> Take Care Sincerely flipchan layerprox dev
>>>
>>>
>>>
>>> --
>>> Kindest regards,
>>> Tom Smyth
>>>
>>> Mobile: +353 87 6193172
>>> The information contained in this E-mail is intended only for the
>>> confidential use of the named recipient. If the reader of this
>message
>>> is not the intended recipient or the person responsible for
>>> delivering it to the recipient, you are hereby notified that you
>have
>>> received this communication in error and that any review,
>>> dissemination or copying of this communication is strictly
>prohibited.
>>> If you have received this in error, please notify the sender
>>> immediately by telephone at the number above and erase the message
>>> You are requested to carry out your own virus check before
>>> opening any attachment.
>>
>>
>>
>
>--
>GPG-KEY: 0x5C5C239D81121B35
>GPG-FP:  49CC8250 CDCF2183 6209C1AE 625677C1 F7783D5F
>Threema: DN8PJX4Z

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Vijay Sankar
Hi,

I am experimenting with librenms at the moment but currently using  
Postgres for Zabbix with the following packages:

zabbix-agent-3.4.8p0 network and application monitoring - agent
zabbix-server-3.4.8-pgsql network and application monitoring - server
zabbix-web-3.4.8p1  network and application monitoring - web frontend
php-7.0.30p10       server-side HTML-embedded scripting language
php-gd-7.0.30p9     image manipulation extensions for php
php-mcrypt-7.0.30p8 mcrypt encryption/decryption extensions for php
php-pgsql-7.0.30p8  pgsql database access extensions for php
php-xmlrpc-7.0.30p8 XML RPC functions for php

It may be with zabbix-mysql (or may be something else) but I vaguely  
recall that you have to use php-mysqli.

Vijay

Quoting flipchan <[hidden email]>:

> Hey how did everyone get zabbix running I tried the zabbix MySQL  
> with the zabbix web on 6.2 but I get a database connection error in  
> the php , I assume the php can't read the config
>
> On October 5, 2018 4:43:05 AM UTC, Tony Boston <[hidden email]> wrote:
>> I am using Icinga2 on all our machines - you'll find it in packages and
>> the newest version you'll get with OpenBSD 6.4
>>
>> On 10/05/18 05:09, Tom Smyth wrote:
>>> Both of of the ones I emailed to you are in ports
>>>
>>> also there is pmmact by the Legend paulo Lucende
>>> that can aggregate and convert multiple logs to different formats
>>> worth having a look at that also ...
>>> On Fri, 5 Oct 2018 at 04:08, Tom Smyth <[hidden email]>
>> wrote:
>>>>
>>>>
>>>> Librenms would be worth a look i believe it has email alerting
>>>> and snmp support needs php and mysql
>>>> Zabbix   ...havent used this one but it has monitoring functionality
>> ...
>>>> If you are monitoring alot of systems, make sure your storage can
>>>> cope with alot of I/O or you will see annoying gaps in your graphs
>>>> so use SSDs and make sure that when formatting the system
>>>> that you align with 1MB offset ...  2048 sectors  (instead the
>> default
>>>> 64 bytes)
>>>>
>>>> Peace
>>>> Tom Smyth
>>>>
>>>>
>>>> On Thu, 4 Oct 2018 at 23:57, flipchan <[hidden email]> wrote:
>>>>>
>>>>> Greetings all,
>>>>>
>>>>> I need to install a monitoring system with email notifications, I
>> have used mmonit which is great but it's a little too pricey for
>> personal use.
>>>>>
>>>>> Can anyone recommend a open source monitoring system that support
>> email notifications and monitoring of multiple hosts running openbsd.
>>>>>
>>>>>
>>>>> Something more modern then nagios would be great, I just need it to
>> work so as long as it supports email notifications and monitoring of
>> more then one host it's good
>>>>>
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Take Care Sincerely flipchan layerprox dev
>>>>
>>>>
>>>>
>>>> --
>>>> Kindest regards,
>>>> Tom Smyth
>>>>
>>>> Mobile: +353 87 6193172
>>>> The information contained in this E-mail is intended only for the
>>>> confidential use of the named recipient. If the reader of this
>> message
>>>> is not the intended recipient or the person responsible for
>>>> delivering it to the recipient, you are hereby notified that you
>> have
>>>> received this communication in error and that any review,
>>>> dissemination or copying of this communication is strictly
>> prohibited.
>>>> If you have received this in error, please notify the sender
>>>> immediately by telephone at the number above and erase the message
>>>> You are requested to carry out your own virus check before
>>>> opening any attachment.
>>>
>>>
>>>
>>
>> --
>> GPG-KEY: 0x5C5C239D81121B35
>> GPG-FP:  49CC8250 CDCF2183 6209C1AE 625677C1 F7783D5F
>> Threema: DN8PJX4Z
>
> --
> Take Care Sincerely flipchan layerprox dev


--
Vijay Sankar
ForeTell Technologies Limited
59 Flamingo Avenue
Winnipeg, MB, Canada
R3J 0X6

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Stuart Henderson
In reply to this post by Flipchan
On 2018-10-05, flipchan <[hidden email]> wrote:
> Hey how did everyone get zabbix running I tried the zabbix MySQL with the zabbix web on 6.2 but I get a database connection error in the php , I assume the php can't read the config

This is usually mysql/mariadb's annoying feature of automatically trying
to use a unix socket when you try to make a TCP connection to localhost.
See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
socket" for a workaround.


Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
Yeah I have put the Unix socket in /var/www/run and chown www:www but nono

On October 5, 2018 12:55:15 PM UTC, Stuart Henderson <[hidden email]> wrote:

>On 2018-10-05, flipchan <[hidden email]> wrote:
>> Hey how did everyone get zabbix running I tried the zabbix MySQL with
>the zabbix web on 6.2 but I get a database connection error in the php
>, I assume the php can't read the config
>
>This is usually mysql/mariadb's annoying feature of automatically
>trying
>to use a unix socket when you try to make a TCP connection to
>localhost.
>See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
>socket" for a workaround.

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
In reply to this post by Stuart Henderson
It's weird because I have no error files that it describes the error in, I am promted with  "Configuration file errror DB type MYSQL is not supported by current setup"

I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and /etc/zabbix*) to use 127.0.0.1 3306 , but nono :/

On October 5, 2018 12:55:15 PM UTC, Stuart Henderson <[hidden email]> wrote:

>On 2018-10-05, flipchan <[hidden email]> wrote:
>> Hey how did everyone get zabbix running I tried the zabbix MySQL with
>the zabbix web on 6.2 but I get a database connection error in the php
>, I assume the php can't read the config
>
>This is usually mysql/mariadb's annoying feature of automatically
>trying
>to use a unix socket when you try to make a TCP connection to
>localhost.
>See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
>socket" for a workaround.

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Stuart Henderson
On 2018/10/05 17:35, flipchan wrote:
> It's weird because I have no error files that it describes the error in, I am promted with
> "Configuration file errror DB type MYSQL is not supported by current setup"

Oh, in that case (always include the actual error message!) I'm pretty sure
you didn't enable the relevant PHP database module. I don't know which one
zabbix-web needs but I'd try php-pdo_mysql first.

> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and /etc/zabbix*) to use 127.0.0.1
> 3306 , but nono :/
>
> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson <[hidden email]> wrote:
>
>     On 2018-10-05, flipchan <[hidden email]> wrote:
>          Hey how did everyone get zabbix running I tried the zabbix MySQL with the zabbix web on 6.2 but I get a database connection error in the php , I assume the php can't read the config
>
>     This is usually mysql/mariadb's annoying feature of automatically trying
>     to use a unix socket when you try to make a TCP connection to localhost.
>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
>     socket" for a workaround.
>
>
>
>
> --
> Take Care Sincerely flipchan layerprox dev

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
Maybe I need to set some sys variable or something similar cuz
php-mysqli
php-pdo_mysql
php-mysql is installed

On October 5, 2018 6:16:07 PM UTC, Stuart Henderson <[hidden email]> wrote:

>On 2018/10/05 17:35, flipchan wrote:
>> It's weird because I have no error files that it describes the error
>in, I am promted with
>> "Configuration file errror DB type MYSQL is not supported by current
>setup"
>
>Oh, in that case (always include the actual error message!) I'm pretty
>sure
>you didn't enable the relevant PHP database module. I don't know which
>one
>zabbix-web needs but I'd try php-pdo_mysql first.
>
>> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
>/etc/zabbix*) to use 127.0.0.1
>> 3306 , but nono :/
>>
>> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
><[hidden email]> wrote:
>>
>>     On 2018-10-05, flipchan <[hidden email]> wrote:
>>          Hey how did everyone get zabbix running I tried the zabbix
>MySQL with the zabbix web on 6.2 but I get a database connection error
>in the php , I assume the php can't read the config
>>
>>     This is usually mysql/mariadb's annoying feature of automatically
>trying
>>     to use a unix socket when you try to make a TCP connection to
>localhost.
>>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
>>     socket" for a workaround.
>>
>>
>>
>>
>> --
>> Take Care Sincerely flipchan layerprox dev

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Tom Smyth
Make sure the module is enabled... check php info

Installed is neq enabled

On Fri 5 Oct 2018, 21:51 flipchan, <[hidden email]> wrote:

> Maybe I need to set some sys variable or something similar cuz
> php-mysqli
> php-pdo_mysql
> php-mysql is installed
>
> On October 5, 2018 6:16:07 PM UTC, Stuart Henderson <[hidden email]>
> wrote:
> >On 2018/10/05 17:35, flipchan wrote:
> >> It's weird because I have no error files that it describes the error
> >in, I am promted with
> >> "Configuration file errror DB type MYSQL is not supported by current
> >setup"
> >
> >Oh, in that case (always include the actual error message!) I'm pretty
> >sure
> >you didn't enable the relevant PHP database module. I don't know which
> >one
> >zabbix-web needs but I'd try php-pdo_mysql first.
> >
> >> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
> >/etc/zabbix*) to use 127.0.0.1
> >> 3306 , but nono :/
> >>
> >> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
> ><[hidden email]> wrote:
> >>
> >>     On 2018-10-05, flipchan <[hidden email]> wrote:
> >>          Hey how did everyone get zabbix running I tried the zabbix
> >MySQL with the zabbix web on 6.2 but I get a database connection error
> >in the php , I assume the php can't read the config
> >>
> >>     This is usually mysql/mariadb's annoying feature of automatically
> >trying
> >>     to use a unix socket when you try to make a TCP connection to
> >localhost.
> >>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
> >>     socket" for a workaround.
> >>
> >>
> >>
> >>
> >> --
> >> Take Care Sincerely flipchan layerprox dev
>
> --
> Take Care Sincerely flipchan layerprox dev
>
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Edgar Pettijohn III-2
In reply to this post by Flipchan

On Oct 5, 2018 3:48 PM, flipchan <[hidden email]> wrote:
>
> Maybe I need to set some sys variable or something similar cuz
> php-mysqli
> php-pdo_mysql
> php-mysql is installed
>

But are they enabled.  Read the package read me for PHP for instructions.

> On October 5, 2018 6:16:07 PM UTC, Stuart Henderson <[hidden email]> wrote:
> >On 2018/10/05 17:35, flipchan wrote:
> >> It's weird because I have no error files that it describes the error
> >in, I am promted with
> >> "Configuration file errror DB type MYSQL is not supported by current
> >setup"
> >
> >Oh, in that case (always include the actual error message!) I'm pretty
> >sure
> >you didn't enable the relevant PHP database module. I don't know which
> >one
> >zabbix-web needs but I'd try php-pdo_mysql first.
> >
> >> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
> >/etc/zabbix*) to use 127.0.0.1
> >> 3306 , but nono :/
> >>
> >> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
> ><[hidden email]> wrote:
> >>
> >>     On 2018-10-05, flipchan <[hidden email]> wrote:
> >>          Hey how did everyone get zabbix running I tried the zabbix
> >MySQL with the zabbix web on 6.2 but I get a database connection error
> >in the php , I assume the php can't read the config
> >>
> >>     This is usually mysql/mariadb's annoying feature of automatically
> >trying
> >>     to use a unix socket when you try to make a TCP connection to
> >localhost.
> >>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
> >>     socket" for a workaround.
> >>
> >>
> >>
> >>
> >> --
> >> Take Care Sincerely flipchan layerprox dev
>
> --
> Take Care Sincerely flipchan layerprox dev

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Tom Smyth
Howdy

Create a atest phpinfo(); file  in ur webserver htdocs directory
And open the url to that file in ur browser
to show you what php configuration and modules are loaded
Check this page for details

http://php.net/manual/en/function.phpinfo.php
On a side note
This function is useful in testing  other oses also because  the os can
load phpconfig from anywhere.. and frequently with nonstandard packages you
can be editing the wrong php.ini config...


On Fri 5 Oct 2018, 22:35 Edgar Pettijohn, <[hidden email]> wrote:

>
> On Oct 5, 2018 3:48 PM, flipchan <[hidden email]> wrote:
> >
> > Maybe I need to set some sys variable or something similar cuz
> > php-mysqli
> > php-pdo_mysql
> > php-mysql is installed
> >
>
> But are they enabled.  Read the package read me for PHP for instructions.
> > On October 5, 2018 6:16:07 PM UTC, Stuart Henderson <[hidden email]>
> wrote:
> > >On 2018/10/05 17:35, flipchan wrote:
> > >> It's weird because I have no error files that it describes the error
> > >in, I am promted with
> > >> "Configuration file errror DB type MYSQL is not supported by current
> > >setup"
> > >
> > >Oh, in that case (always include the actual error message!) I'm pretty
> > >sure
> > >you didn't enable the relevant PHP database module. I don't know which
> > >one
> > >zabbix-web needs but I'd try php-pdo_mysql first.
> > >
> > >> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
> > >/etc/zabbix*) to use 127.0.0.1
> > >> 3306 , but nono :/
> > >>
> > >> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
> > ><[hidden email]> wrote:
> > >>
> > >>     On 2018-10-05, flipchan <[hidden email]> wrote:
> > >>          Hey how did everyone get zabbix running I tried the zabbix
> > >MySQL with the zabbix web on 6.2 but I get a database connection error
> > >in the php , I assume the php can't read the config
> > >>
> > >>     This is usually mysql/mariadb's annoying feature of automatically
> > >trying
> > >>     to use a unix socket when you try to make a TCP connection to
> > >localhost.
> > >>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
> > >>     socket" for a workaround.
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Take Care Sincerely flipchan layerprox dev
> >
> > --
> > Take Care Sincerely flipchan layerprox dev
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Richard Toohey-3
In reply to this post by Stuart Henderson
On 10/06/18 07:16, Stuart Henderson wrote:
> On 2018/10/05 17:35, flipchan wrote:
>> It's weird because I have no error files that it describes the error in, I am promted with
>> "Configuration file errror DB type MYSQL is not supported by current setup"
I don't think the issue here - but if you are using PHP 7 make sure
mysqli is used.

http://php.net/manual/en/mysqlinfo.api.choosing.php

> Oh, in that case (always include the actual error message!) I'm pretty sure
> you didn't enable the relevant PHP database module. I don't know which one
> zabbix-web needs but I'd try php-pdo_mysql first.
>
>> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and /etc/zabbix*) to use 127.0.0.1
>> 3306 , but nono :/
>>
>> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson <[hidden email]> wrote:
>>
>>      On 2018-10-05, flipchan <[hidden email]> wrote:
>>           Hey how did everyone get zabbix running I tried the zabbix MySQL with the zabbix web on 6.2 but I get a database connection error in the php , I assume the php can't read the config
>>
>>      This is usually mysql/mariadb's annoying feature of automatically trying
>>      to use a unix socket when you try to make a TCP connection to localhost.
>>      See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
>>      socket" for a workaround.
>>
>>
>>
>>
>> --
>> Take Care Sincerely flipchan layerprox dev

Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Stuart Henderson
On 2018-10-06, Richard Toohey <[hidden email]> wrote:
> On 10/06/18 07:16, Stuart Henderson wrote:
>> On 2018/10/05 17:35, flipchan wrote:
>>> It's weird because I have no error files that it describes the error in, I am promted with
>>> "Configuration file errror DB type MYSQL is not supported by current setup"
> I don't think the issue here - but if you are using PHP 7 make sure
> mysqli is used.
>
> http://php.net/manual/en/mysqlinfo.api.choosing.php

It all depends what zabbix-web wants. If it's written to use one specific
api then you will need to use the module providing that. pdo_mysql is
probably the most common nowadays.


Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
In reply to this post by Tom Smyth
<?php
phpinfo();
?>

Is not returning anything

On October 6, 2018 6:36:38 AM UTC, Tom Smyth <[hidden email]> wrote:

>Howdy
>
>Create a atest phpinfo(); file  in ur webserver htdocs directory
>And open the url to that file in ur browser
>to show you what php configuration and modules are loaded
>Check this page for details
>
>http://php.net/manual/en/function.phpinfo.php
>On a side note
>This function is useful in testing  other oses also because  the os can
>load phpconfig from anywhere.. and frequently with nonstandard packages
>you
>can be editing the wrong php.ini config...
>
>
>On Fri 5 Oct 2018, 22:35 Edgar Pettijohn, <[hidden email]>
>wrote:
>
>>
>> On Oct 5, 2018 3:48 PM, flipchan <[hidden email]> wrote:
>> >
>> > Maybe I need to set some sys variable or something similar cuz
>> > php-mysqli
>> > php-pdo_mysql
>> > php-mysql is installed
>> >
>>
>> But are they enabled.  Read the package read me for PHP for
>instructions.
>> > On October 5, 2018 6:16:07 PM UTC, Stuart Henderson
><[hidden email]>
>> wrote:
>> > >On 2018/10/05 17:35, flipchan wrote:
>> > >> It's weird because I have no error files that it describes the
>error
>> > >in, I am promted with
>> > >> "Configuration file errror DB type MYSQL is not supported by
>current
>> > >setup"
>> > >
>> > >Oh, in that case (always include the actual error message!) I'm
>pretty
>> > >sure
>> > >you didn't enable the relevant PHP database module. I don't know
>which
>> > >one
>> > >zabbix-web needs but I'd try php-pdo_mysql first.
>> > >
>> > >> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
>> > >/etc/zabbix*) to use 127.0.0.1
>> > >> 3306 , but nono :/
>> > >>
>> > >> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
>> > ><[hidden email]> wrote:
>> > >>
>> > >>     On 2018-10-05, flipchan <[hidden email]> wrote:
>> > >>          Hey how did everyone get zabbix running I tried the
>zabbix
>> > >MySQL with the zabbix web on 6.2 but I get a database connection
>error
>> > >in the php , I assume the php can't read the config
>> > >>
>> > >>     This is usually mysql/mariadb's annoying feature of
>automatically
>> > >trying
>> > >>     to use a unix socket when you try to make a TCP connection
>to
>> > >localhost.
>> > >>     See pkg-readmes/mariadb-server (the "chrooted daemons and
>MariaDB
>> > >>     socket" for a workaround.
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >> Take Care Sincerely flipchan layerprox dev
>> >
>> > --
>> > Take Care Sincerely flipchan layerprox dev
>>
>>

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Flipchan
In reply to this post by Stuart Henderson
My phpinfo: dpaste.com/0VDR4TE

On October 6, 2018 4:42:16 PM UTC, Stuart Henderson <[hidden email]> wrote:

>On 2018-10-06, Richard Toohey <[hidden email]> wrote:
>> On 10/06/18 07:16, Stuart Henderson wrote:
>>> On 2018/10/05 17:35, flipchan wrote:
>>>> It's weird because I have no error files that it describes the
>error in, I am promted with
>>>> "Configuration file errror DB type MYSQL is not supported by
>current setup"
>> I don't think the issue here - but if you are using PHP 7 make sure
>> mysqli is used.
>>
>> http://php.net/manual/en/mysqlinfo.api.choosing.php
>
>It all depends what zabbix-web wants. If it's written to use one
>specific
>api then you will need to use the module providing that. pdo_mysql is
>probably the most common nowadays.

--
Take Care Sincerely flipchan layerprox dev
Reply | Threaded
Open this post in threaded view
|

Re: Monitoring system

Richard Toohey-3
On 10/07/18 09:05, flipchan wrote:
> My phpinfo: dpaste.com/0VDR4TE
Have you looked in /usr/local/share/doc/pkg-readmes/ for anything useful.

I've moved off PHP 5.6 so not exactly sure what the file will be called.

The instructions for 7.0.31:

     /usr/local/share/doc/pkg-readmes/php-7.0.31

... include instructions about what to do for some extensions so you
/may/ need to do something similar.

<Quote>
- some 'core' extensions with extra dependencies are packaged separately
(e.g. php-pdo_mysql, php-ldap, php-soap, and others) and can be installed
with pkg_add(1).
...
For all extensions packaged separately (and for opcache), you will find a
file named /etc/php-7.0.sample/(MODULE_NAME).ini. To enable it,
add a symlink into /etc/php-7.0 and restart:

     ln -sf ../php-7.0.sample/MODULE_NAME.ini /etc/php-7.0/
</UnQuote>

Obviously these instructions will not be directly applicable in your
case, but do have a look in /usr/local/share/doc/pkg-readmes for
anything php-related.

>
> On October 6, 2018 4:42:16 PM UTC, Stuart Henderson <[hidden email]> wrote:
>> On 2018-10-06, Richard Toohey <[hidden email]> wrote:
>>> On 10/06/18 07:16, Stuart Henderson wrote:
>>>> On 2018/10/05 17:35, flipchan wrote:
>>>>> It's weird because I have no error files that it describes the
>> error in, I am promted with
>>>>> "Configuration file errror DB type MYSQL is not supported by
>> current setup"
>>> I don't think the issue here - but if you are using PHP 7 make sure
>>> mysqli is used.
>>>
>>> http://php.net/manual/en/mysqlinfo.api.choosing.php
>> It all depends what zabbix-web wants. If it's written to use one
>> specific
>> api then you will need to use the module providing that. pdo_mysql is
>> probably the most common nowadays.

12