Christian Rößner | 24 Feb 18:47 2015

Re: Broken graphs - sometimes

Hi,

I just don’t know, if I should start my own thread. I do not want to be a thread theft. Hope it is okay, if I
answer my settings details here?

> Am 23.02.2015 um 21:44 schrieb James Wells <jwells <at> dragonheim.net>:
> 
> Greetings,
> 
>    Everything you are describing indicates that you are overloading the DB.  PHP plays no part in this, it is
all between the Zabbix server and the DB.
> 
>   So some basic questions I have not seen asked nor answered;
> 	• What DB are you running?

Postgres-SQL 9.3 with partitioning. I have daily tables that are created with a cron job:

 <at> daily echo "select add_partition('history', 'day');" | psql -U zabbix -d zabbix >/dev/null
 <at> daily echo "select add_partition('history_uint', 'day');" | psql -U zabbix -d zabbix >/dev/null
 <at> daily echo "select add_partition('history_log', 'day');" | psql -U zabbix -d zabbix >/dev/null

 <at> monthly echo "select add_partition('trends', 'month');" | psql -U zabbix -d zabbix >/dev/null
 <at> monthly echo "select add_partition('trends_uint', 'month');" | psql -U zabbix -d zabbix >/dev/null

It’s basically the version found in the Zabbix wiki, but it can not run into deadlocks, as tables are
created outside Postgres.

> 	• When you look at the Zabbix Status widget on the dashboard what does it show for 'Required server
performance, new values per second‘?

(Continue reading)

Paulo Coimbra | 19 Feb 20:33 2015
Picon

Broken graphs - sometimes

Hi,

I have a Zabbix Server and sometimes one of my graphs got broken, with lines and/or dots.

FYI, see this graphic at http://postimg.org/image/6ycrwwve3/

I´ve changed (increase/decreased) some parameters such as Start_Pollers and start_pingers, for example.

This server monitors about 300 hosts and less than 1k items.


--
br,

Paulo Coimbra
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Jim Kreiger | 18 Feb 18:57 2015
Picon

Debugging a trigger/alarm

One of the methods I'm using to monitor my name servers is by sending a query for root.  similar to:
 dig <at> server . NS

I set up an External check item that simply returns each nsdname found in the answer section of the DNS packet.
I've set the Type of information to Text.

Inventory -> Latest Data -> History shows me the response I expect (with one server per line):
b.root-servers.net
e.root-servers.net
a.root-servers.net
[...]

But my trigger is alarming.  I've tried lots of expressions, but they all fail
{External UDP.DNS Check:dnsc.pl["-h","{HOST.CONN}","-n",".","-r","NS"].str("root-servers.net")}=1
{External UDP.DNS Check:dnsc.pl["-h","{HOST.CONN}","-n",".","-r","NS"].str("net")}=1
{External UDP.DNS Check:dnsc.pl["-h","{HOST.CONN}","-n",".","-r","NS"].regex("[a-z].root-servers\.net")}=1

Can someone explain what is going wrong or how I find out what's confused ?

FYI: my dnsc.pl is available at http://pastebin.com/raw.php?i=Fu83kD4s

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Scott Mead | 23 Jan 19:09 2015

Latest Data

Hello all,

   I'm using Zabbix server V 2.4.3 ( built from source ).  When I use the web interface to view Monitoring -> Latest Data with no search criteria, I am getting no data back unless I explicitly enter a host or group in the criteria box.  ( database is postgresql ).

  When I do enter a host in the search, I see all of the collected data.

--Scott

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Chris Stankevitz | 16 Dec 18:34 2014
Picon

2.4 appliance swap/memory

Hello,

Will you please identify any incorrect statements:

1. I downloaded the zabbix OVF appliance at Zabbix_2.4_x86_64_13.1.x86_64-2.4.1

2. I installed the appliance onto VMWare ESXi 5.1

3. I accepted the default values (including 60 GB hard disk space and
512 MB RAM)

4. When zabbix came up, the "map" showed that the zabbix server
complained about a lack of swap space

5. After browsing the GUI for a few minutes system memory was
exhausted and zabbix stopped working

6. The zabbix appliance Zabbix_2.4_x86_64_13.1.x86_64-2.4.1.ovf is
unable to run for more than a few minutes “out of the box”

Of course I can go in and tinker with virtual swap disks, memory, etc,
but my inclination is to first get to “root cause” of the problem…
e.g. did I not properly install the appliance (likely) or Zabbix
produces an ovf that simply doesn’t work (unlikely).

Thank you,

Chris

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Nicolas C. | 3 Dec 16:01 2014
Picon

Unreachable Windows 2012R2 agent (irregular)

Hello,

We are monitoring a few Windows 2012R2 servers (agent version is 2.4.1) 
and sometimes the Zabbix server (Debian Wheezy w/ 2.4.1) reports these 
agents as «unreachable» even though the Zabbix server is on the same 
network as the Windows servers.

All are VMware virtual machines on the same cluster.

We use IPv6 (dual-stack), we tried forcing «Server», «Listen» and 
«Source» with IPv4 addresses on the agent configuration, we also 
disabled power management on the (virtual) network card and none of that 
improved the situation.

We cannot understand why the agents are sometimes unreachable. The 
ICMPv4/ICMPv6 tests are OK.

Any idea on this issue is welcomed.

Thanks,

Nicolas

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Nicolas C. | 7 Nov 13:47 2014
Picon

Need to use "net.tcp.service[tcp, , 443]" with IPv6 addresses

Hello,

I'm currently deploying Zabbix 2.4.0 in a dual-stack environment, for 
each host I create an entry with the IPv4 an another with the IPv6. The 
Zabbix server runs on Debian Wheezy.

Apparently, the default "App HTTPS Service" template is not willing to 
check on IPv6 addresses with "net.tcp.service[https]", no packet are send.

I need to use "net.tcp.service[tcp,,443]" instead. It's not a big deal 
but I'm curious to know why I need to specify the port number.

Thanks,

Nicolas

------------------------------------------------------------------------------
Martin Møller | 4 Nov 17:08 2014
Picon

My custom trigger doesn't seem to fire.

Hi everyone.

I have tried to make a trigger for the case when not all services (on Windows) that are automatically started are in this state (minus the ones I have to ignore)

It looks like this, presently:


I have $WIN_SVC_IGNORE defined on my test host with a value of sppsvc, and that part works fine.
If I shut down an automatic service, such as VeamInstallerService, this is shown in my item, but the trigger doesn't mail me, and indeed does not even fire.
I tried having <>"0" previously, but that was not accepted.

My corresponding Zabbix agent (active) check is simply:
services[automatic,stopped,"{$WIN_SVC_IGNORE}"]

And returns the values I would expect. I have it defined as 'Text'.
What am I missing here?

Do any of you have another way of alerting about services that should run but do not on Windows?
 
------------------------------------------------------------------------------
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Jonathan Bayer | 4 Nov 14:45 2014
Picon

Unexpected messages from Zabbix

One of our admins is in the process of setting up a new server.  Part of this process is to install the server in Zabbix.

He did this out-of-order, in that the server was created, but not finished (ie:  Apache wasn't running), and then set it up in Zabbix.

We started getting messages that Apache wasn't running.  Nothing strange about this so far.

After a few days of these messages he then disabled monitoring the server totally.  However, we are still getting notifications once every 12 hours.

The conditions on the action are:

Maintenance status not in "maintenance"
Trigger value = "PROBLEM"


Is this a bug?  If not, what would be causing this?

This is Zabbix 2.0.4, running on a CentOS 6 system, with 4 CPUs, 4 gig of memory and mysql

Thanks in advance


JBB


------------------------------------------------------------------------------
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Jim Whitby | 31 Oct 00:38 2014

configure error --with-mysql

System: Mageia ver 4, 64 bit:

./configure --prefix=/usr --enable-server --enable-agent --enable-ipv6 
--with-net-snmp --with-libcurl --with-mysql
...
checking for the linux kernel version... unknown family 
(3.14.18-desktop-3.mga4)
...
checking for mysql_config... /usr/bin/mysql_config
checking for main in -lmysqlclient... no
configure: error: Not found mysqlclient library

The libs are:

/usr/lib64/libmysqlclient_r.so <at>        /usr/lib64/libmysqld.so.0 <at> 
/usr/lib64/libmysqlclient.so <at>          /usr/lib64/libmysqld.so.0.0.1*
/usr/lib64/libmysqlclient.so.18 <at>       /usr/lib64/libmysqld.so.18*
/usr/lib64/libmysqlclient.so.18.0.0*  /usr/lib64/libmysqlservices.a

Anyone have any pointers on curing this?
Need info? let me know what you need.

--

-- 
You'll never see all the places, or read all the books, but fortunately,
they're not all recommended.
----------------------
Mageia release 4 (Official) for x86_64
3.14.18-desktop-3.mga4 x86_64
----------------------

Attachment (smime.p7s): application/pkcs7-signature, 5288 bytes
------------------------------------------------------------------------------
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Raphael Rabelo de Oliveira | 9 Oct 03:05 2014
Picon

Re: Auto-Register by DNS name

Hi!

My servers has the same hostname than dns name.
I solved this using a script that change the 'interface' table, to set useip to '0' and get the name of host in table 'hosts'.

Here I set the column 'useip' to 0, this make zabbix use 'DNS' name of host to monitor, the except is because the server didn't the same hostname:

UPDATE interface i,hosts h
SET    i.useip = '0'
WHERE  i.hostid = h.hostid
       AND i.ip <> '127.0.0.1'
       AND i.dns IS NOT NULL
       AND h.name NOT LIKE 'ftp-server%'

And here, I get the 'name' of the host in 'hosts' tables and set in 'dns' column in 'interface' table:
-----------------------------------------------
UPDATE interface i,hosts h 
SET    i.dns = h.name 
WHERE  i.hostid = h.hostid 
       AND i.dns <> h.name
       AND i.ip <> '127.0.0.1'
       AND h.name NOT LIKE 'ftp-server%'


So, to view the result I used this:

SELECT h.hostid,i.useip,i.ip,h.name,h.host,i.dns
FROM hosts AS h
INNER JOIN interface AS i 
ON (h.hostid = i.hostid);

This work for me, I'm studing how to do this automatically when host is add.

Thanks for the help guys!! =D


2014-10-06 9:35 GMT-03:00 Jonathan Bayer <linuxgurugamer <at> gmail.com>:
Well, if you use the dns name instead of the ip address, and if the TTL on the DNS entries is short enough, wouldn't that take care of it for you?


JBB


On 10/6/2014 7:29 AM, Raphael Rabelo de Oliveira wrote:
Hello!

I have a zabbix server with a lot of servers monitoring and using active-check to auto-registration.

My problem is that auto-registration is using a IP address to connect with servers, but sometimes my servers changes the IP address and the monitoring was broken.

All of my server has a fixed DNS name, and them don't change, so there's someway to make zabbix include the servers using DNS in auto-registration by default ?

Thanks!

Raphael R.

-- 
Raphael R.


------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

_______________________________________________ Zabbix-users mailing list Zabbix-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/zabbix-users




--
Raphael Rabelo de Oliveira
Red Hat Certified Enginner - RHCE
Cel: 11 96105-8257

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
Zabbix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zabbix-users

Gmane