Good morning All,
Can anyone help me solving my problem about Log File Monitoring ?
Zabbix Server version : 1.8
Zabbix Agentd version : 1.8
Zabbix_Agentd.conf parameters :
Server=172.17.x.x
Hostname=adm1.xxx.xxx
ServerPort=10051
ListenPort=10050
StartAgents=3
DebugLevel=4
RefreshActiveChecks=120
MaxLinesPerSecond=100
EnableRemoteCommands=1
LogRemoteCommands=1
LogFileSize=10
LogFile=/var/log/zabbix_agentd/zabbix_agentd.log
LogUnresolvedSymbols=/var/log/zabbix_agentd/zabbix_unresolved_symbols.log
PidFile=/var/run/zabbix_agentd/zabbix_agentd.pid
Include=/etc/zabbix_agentd/include/
ZABBIX Hostname GUI = adm1.xxx.priv
ZABBIX Agentd conf Hostname parameter = adm1.xxx.priv
I try to make a test with 3 following files (located in /test_logmon/ directory) :
FILE : "shadow"
Item : log["/logmon_test/shadow","mail","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/shadow","mail","UTF-8",100].str(mail)}=1
FILE : "sysctl.conf"
Item : log["/logmon_test/sysctl.conf","kernel","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/sysctl.conf","kernel","UTF-8",100].str(kernel)}=1
FILE : "tcsd.conf"
Item : log["/logmon_test/tcsd.conf","Description","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/tcsd.conf","Description","UTF-8",100].str(Description)}=1
Linux File permissions :
-r-------- 1 root root 866 Dec 30 13:02 shadow
-rw-r--r-- 1 root root 994 Dec 30 13:01 sysctl.conf
-rw------- 1 root root 6411 Dec 30 13:01 tcsd.conf
this issue I have is in Zabbix GUI ; I have nothing for those 3 items
for me everything is good (except 2 file permission on the file shadow and tcsd.conf
[Cannot open [/test_logmon/shadow] [Permission denied]) on agentd side but nothing is available
on zabbix Server GUI, the field for the item "sysctl.conf" ; no data are available even if file is correcly analysed.
Can anyone tell me if it is a problem of Linux file permissions (Zabbix agentd user and group account has been created)
but I not sure about the exact right I should set to monitor linux file ; I only know that zabbix agentd account
should have read permission on file to be monitored but I don't how to do corectly that.
Can any tell the correct file accress permission I should set to all the linux file I would monitor ?
does "-rw-r--r--" is correct, enough ?
For the file "sysctl.conf" (read permission) Here below, a content of zabbix agentd log :
For me, the file "sysctl.conf" is successfully analysed But why in Zabbix GUI I have nothing
in the field "TEST LOG : SYSCTL.CONF" event if in zabbix_agentd log file,
for "/test_logmon/sysctl.conf","kernel","UTF-8",100" several items are succesfully found ?
Here below is the content of zabbix_agentd log file :
7195:20110104:122213.300 In send_buffer('172.17.X.X','10051')
7195:20110104:122213.300 Values in the buffer 0 Max 100
7195:20110104:122213.300 Sleeping for 1 seconds
7195:20110104:122214.302 In send_buffer('172.17.X.X','10051')
7195:20110104:122214.302 Values in the buffer 0 Max 100
7195:20110104:122214.302 refresh_active_checks('172.17.X.X',10051)
7195:20110104:122214.304 Sending [{
"request":"active checks",
"host":"adm1.xxx.xxx"}]
7195:20110104:122214.305 Before read
7195:20110104:122214.306 Got [{
"response":"success",
"data":[
{
"key":"log[\"\/test_logmon\/shadow\",\"mail\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"},
{
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"},
{
"key":"log[\"\/test_logmon\/tcsd.conf\",\"Description\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"}]}]
7195:20110104:122214.306 In parse_list_of_checks()
7195:20110104:122214.307 In disable_all_metrics()
7195:20110104:122214.307 In add_check('log["/test_logmon/shadow","mail","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 In add_check('log["/test_logmon/sysctl.conf","kernel","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 In add_check('log["/test_logmon/tcsd.conf","Description","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 Sleeping for 1 seconds
7195:20110104:122215.308 In send_buffer('172.17.X.X','10051')
7195:20110104:122215.308 Values in the buffer 0 Max 100
7195:20110104:122215.308 Sleeping for 1 seconds
7195:20110104:122216.310 In send_buffer('172.17.X.X','10051')
7195:20110104:122216.310 Values in the buffer 0 Max 100
7195:20110104:122216.310 Sleeping for 1 seconds
7195:20110104:122217.312 In send_buffer('172.17.X.X','10051')
7195:20110104:122217.312 Values in the buffer 0 Max 100
7195:20110104:122217.312 Sleeping for 1 seconds
7195:20110104:122218.314 In send_buffer('172.17.X.X','10051')
7195:20110104:122218.314 Values in the buffer 0 Max 100
7195:20110104:122218.314 Sleeping for 1 seconds
7195:20110104:122219.315 In send_buffer('172.17.X.X','10051')
7195:20110104:122219.315 Values in the buffer 0 Max 100
7195:20110104:122219.315 Sleeping for 1 seconds
7195:20110104:122220.317 In send_buffer('172.17.X.X','10051')
7195:20110104:122220.317 Values in the buffer 0 Max 100
7195:20110104:122220.317 Sleeping for 1 seconds
7195:20110104:122221.319 In send_buffer('172.17.X.X','10051')
7195:20110104:122221.319 Values in the buffer 0 Max 100
7195:20110104:122221.319 Sleeping for 1 seconds
7195:20110104:122222.321 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.321 Values in the buffer 0 Max 100
7195:20110104:122222.321 In process_active_checks('172.17.X.X',10051)
7195:20110104:122222.321 In process_log() filename:'/test_logmon/shadow' lastlogsize:0
7195:20110104:122222.321 Cannot open [/test_logmon/shadow] [Permission denied]
7195:20110104:122222.321 Active check [log["/test_logmon/shadow","mail","UTF-8",100]] is not supported. Disabled.
7195:20110104:122222.321 In process_value('adm1.xxx.xxx','log["/test_logmon/shadow","mail","UTF-8",100]','ZBX_NOTSUPPORTED')
7195:20110104:122222.321 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.321 Values in the buffer 0 Max 100
7195:20110104:122222.321 Buffer: new element 0
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:0
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:53
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:55
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:124
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:159
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:160
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:192
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:216
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:217
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:254
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:290
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:291
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:322
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:368
7195:20110104:122222.324 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:369
7195:20110104:122222.324 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','# Controls the System Request debugging functionality of the kernel')
7195:20110104:122222.324 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.324 Values in the buffer 1 Max 100
7195:20110104:122222.324 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/shadow\",\"mail\",\"UTF-8\",100]",
"value":"ZBX_NOTSUPPORTED",
"clock":1294140142}],
"clock":1294140142}]
7195:20110104:122222.325 JSON back [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000039"}]
7195:20110104:122222.325 In check_response({
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000039"})
7195:20110104:122222.325 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.000039
7195:20110104:122222.325 OK
7195:20110104:122222.325 Buffer: new element 0
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:437
7195:20110104:122222.326 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.sysrq = 0')
7195:20110104:122222.326 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.326 Values in the buffer 1 Max 100
7195:20110104:122222.326 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.326 Buffer: new element 1
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:454
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:455
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:526
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:577
7195:20110104:122222.327 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.core_uses_pid = 1')
7195:20110104:122222.327 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.327 Values in the buffer 2 Max 100
7195:20110104:122222.327 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.327 Buffer: new element 2
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:602
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:603
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:640
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:668
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:669
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:720
7195:20110104:122222.328 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.msgmnb = 65536')
7195:20110104:122222.328 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.328 Values in the buffer 3 Max 100
7195:20110104:122222.328 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.328 Buffer: new element 3
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:742
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:743
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:798
7195:20110104:122222.329 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.msgmax = 65536')
7195:20110104:122222.329 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.329 Values in the buffer 4 Max 100
7195:20110104:122222.329 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.329 Buffer: new element 4
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:820
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:821
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:874
7195:20110104:122222.329 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.shmmax = 4294967295')
7195:20110104:122222.330 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.330 Values in the buffer 5 Max 100
7195:20110104:122222.330 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.330 Buffer: new element 5
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:901
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:902
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:968
7195:20110104:122222.330 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.shmall = 268435456')
7195:20110104:122222.330 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.331 Values in the buffer 6 Max 100
7195:20110104:122222.331 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.331 Buffer: new element 6
7195:20110104:122222.331 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:994
7195:20110104:122222.331 In process_log() filename:'/test_logmon/tcsd.conf' lastlogsize:0
7195:20110104:122222.331 Cannot open [/test_logmon/tcsd.conf] [Permission denied]
7195:20110104:122222.331 Active check [log["/test_logmon/tcsd.conf","Description","UTF-8",100]] is not supported. Disabled.
7195:20110104:122222.331 In process_value('adm1.xxx.xxx','log["/test_logmon/tcsd.conf","Description","UTF-8",100]','ZBX_NOTSUPPORTED')
7195:20110104:122222.331 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.331 Values in the buffer 7 Max 100
7195:20110104:122222.331 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.331 Buffer: new element 7
7195:20110104:122222.331 In get_min_nextcheck()
7195:20110104:122222.331 Sleeping for 1 seconds
7195:20110104:122223.333 In send_buffer('172.17.X.X','10051')
7195:20110104:122223.333 Values in the buffer 8 Max 100
7195:20110104:122223.333 Will not send now. Now 1294140143 lastsent 1294140142 < 5
7195:20110104:122223.333 Sleeping for 1 seconds
7195:20110104:122224.335 In send_buffer('172.17.X.X','10051')
7195:20110104:122224.335 Values in the buffer 8 Max 100
7195:20110104:122224.335 Will not send now. Now 1294140144 lastsent 1294140142 < 5
7195:20110104:122224.335 Sleeping for 1 seconds
7195:20110104:122225.337 In send_buffer('172.17.X.X','10051')
7195:20110104:122225.337 Values in the buffer 8 Max 100
7195:20110104:122225.337 Will not send now. Now 1294140145 lastsent 1294140142 < 5
7195:20110104:122225.337 Sleeping for 1 seconds
7195:20110104:122226.339 In send_buffer('172.17.X.X','10051')
7195:20110104:122226.339 Values in the buffer 8 Max 100
7195:20110104:122226.339 Will not send now. Now 1294140146 lastsent 1294140142 < 5
7195:20110104:122226.339 Sleeping for 1 seconds
7195:20110104:122227.341 In send_buffer('172.17.X.X','10051')
7195:20110104:122227.341 Values in the buffer 8 Max 100
7195:20110104:122227.341 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"# Controls the System Request debugging functionality of the kernel",
"lastlogsize":437,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.sysrq = 0",
"lastlogsize":454,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.core_uses_pid = 1",
"lastlogsize":602,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.msgmnb = 65536",
"lastlogsize":742,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.msgmax = 65536",
"lastlogsize":820,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.shmmax = 4294967295",
"lastlogsize":901,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.shmall = 268435456",
"lastlogsize":994,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/tcsd.conf\",\"Description\",\"UTF-8\",100]",
"value":"ZBX_NOTSUPPORTED",
"clock":1294140142}],
"clock":1294140147}]
7195:20110104:122227.342 JSON back [{
"response":"success",
"info":"Processed 0 Failed 8 Total 8 Seconds spent 0.000201"}]
7195:20110104:122227.342 In check_response({
"response":"success",
"info":"Processed 0 Failed 8 Total 8 Seconds spent 0.000201"})
7195:20110104:122227.342 Info from server: Processed 0 Failed 8 Total 8 Seconds spent 0.000201
7195:20110104:122227.342 OK
7195:20110104:122227.343 Sleeping for 1 seconds
7195:20110104:122228.344 In send_buffer('172.17.X.X','10051')
7195:20110104:122228.344 Values in the buffer 0 Max 100
7195:20110104:122228.344 Will not send now. Now 1294140148 lastsent 1294140147 < 5
7195:20110104:122228.344 Sleeping for 1 seconds
7195:20110104:122229.345 In send_buffer('172.17.X.X','10051')
7195:20110104:122229.345 Values in the buffer 0 Max 100
7195:20110104:122229.345 Will not send now. Now 1294140149 lastsent 1294140147 < 5
7195:20110104:122229.345 Sleeping for 1 seconds
7195:20110104:122230.348 In send_buffer('172.17.X.X','10051')
7195:20110104:122230.348 Values in the buffer 0 Max 100
Any help will be appreciated.
Have a good day
Thanks.
Can anyone help me solving my problem about Log File Monitoring ?
Zabbix Server version : 1.8
Zabbix Agentd version : 1.8
Zabbix_Agentd.conf parameters :
Server=172.17.x.x
Hostname=adm1.xxx.xxx
ServerPort=10051
ListenPort=10050
StartAgents=3
DebugLevel=4
RefreshActiveChecks=120
MaxLinesPerSecond=100
EnableRemoteCommands=1
LogRemoteCommands=1
LogFileSize=10
LogFile=/var/log/zabbix_agentd/zabbix_agentd.log
LogUnresolvedSymbols=/var/log/zabbix_agentd/zabbix_unresolved_symbols.log
PidFile=/var/run/zabbix_agentd/zabbix_agentd.pid
Include=/etc/zabbix_agentd/include/
ZABBIX Hostname GUI = adm1.xxx.priv
ZABBIX Agentd conf Hostname parameter = adm1.xxx.priv
I try to make a test with 3 following files (located in /test_logmon/ directory) :
FILE : "shadow"
Item : log["/logmon_test/shadow","mail","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/shadow","mail","UTF-8",100].str(mail)}=1
FILE : "sysctl.conf"
Item : log["/logmon_test/sysctl.conf","kernel","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/sysctl.conf","kernel","UTF-8",100].str(kernel)}=1
FILE : "tcsd.conf"
Item : log["/logmon_test/tcsd.conf","Description","UTF-8",100]
Trigger : {ADM1.XXX.XXX:log["/test_logmon/tcsd.conf","Description","UTF-8",100].str(Description)}=1
Linux File permissions :
-r-------- 1 root root 866 Dec 30 13:02 shadow
-rw-r--r-- 1 root root 994 Dec 30 13:01 sysctl.conf
-rw------- 1 root root 6411 Dec 30 13:01 tcsd.conf
this issue I have is in Zabbix GUI ; I have nothing for those 3 items
for me everything is good (except 2 file permission on the file shadow and tcsd.conf
[Cannot open [/test_logmon/shadow] [Permission denied]) on agentd side but nothing is available
on zabbix Server GUI, the field for the item "sysctl.conf" ; no data are available even if file is correcly analysed.
Can anyone tell me if it is a problem of Linux file permissions (Zabbix agentd user and group account has been created)
but I not sure about the exact right I should set to monitor linux file ; I only know that zabbix agentd account
should have read permission on file to be monitored but I don't how to do corectly that.
Can any tell the correct file accress permission I should set to all the linux file I would monitor ?
does "-rw-r--r--" is correct, enough ?
For the file "sysctl.conf" (read permission) Here below, a content of zabbix agentd log :
For me, the file "sysctl.conf" is successfully analysed But why in Zabbix GUI I have nothing
in the field "TEST LOG : SYSCTL.CONF" event if in zabbix_agentd log file,
for "/test_logmon/sysctl.conf","kernel","UTF-8",100" several items are succesfully found ?
Here below is the content of zabbix_agentd log file :
7195:20110104:122213.300 In send_buffer('172.17.X.X','10051')
7195:20110104:122213.300 Values in the buffer 0 Max 100
7195:20110104:122213.300 Sleeping for 1 seconds
7195:20110104:122214.302 In send_buffer('172.17.X.X','10051')
7195:20110104:122214.302 Values in the buffer 0 Max 100
7195:20110104:122214.302 refresh_active_checks('172.17.X.X',10051)
7195:20110104:122214.304 Sending [{
"request":"active checks",
"host":"adm1.xxx.xxx"}]
7195:20110104:122214.305 Before read
7195:20110104:122214.306 Got [{
"response":"success",
"data":[
{
"key":"log[\"\/test_logmon\/shadow\",\"mail\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"},
{
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"},
{
"key":"log[\"\/test_logmon\/tcsd.conf\",\"Description\",\"UTF-8\",100]",
"delay":"60",
"lastlogsize":"0",
"mtime":"0"}]}]
7195:20110104:122214.306 In parse_list_of_checks()
7195:20110104:122214.307 In disable_all_metrics()
7195:20110104:122214.307 In add_check('log["/test_logmon/shadow","mail","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 In add_check('log["/test_logmon/sysctl.conf","kernel","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 In add_check('log["/test_logmon/tcsd.conf","Description","UTF-8",100]', 60, 0, 0)
7195:20110104:122214.307 Sleeping for 1 seconds
7195:20110104:122215.308 In send_buffer('172.17.X.X','10051')
7195:20110104:122215.308 Values in the buffer 0 Max 100
7195:20110104:122215.308 Sleeping for 1 seconds
7195:20110104:122216.310 In send_buffer('172.17.X.X','10051')
7195:20110104:122216.310 Values in the buffer 0 Max 100
7195:20110104:122216.310 Sleeping for 1 seconds
7195:20110104:122217.312 In send_buffer('172.17.X.X','10051')
7195:20110104:122217.312 Values in the buffer 0 Max 100
7195:20110104:122217.312 Sleeping for 1 seconds
7195:20110104:122218.314 In send_buffer('172.17.X.X','10051')
7195:20110104:122218.314 Values in the buffer 0 Max 100
7195:20110104:122218.314 Sleeping for 1 seconds
7195:20110104:122219.315 In send_buffer('172.17.X.X','10051')
7195:20110104:122219.315 Values in the buffer 0 Max 100
7195:20110104:122219.315 Sleeping for 1 seconds
7195:20110104:122220.317 In send_buffer('172.17.X.X','10051')
7195:20110104:122220.317 Values in the buffer 0 Max 100
7195:20110104:122220.317 Sleeping for 1 seconds
7195:20110104:122221.319 In send_buffer('172.17.X.X','10051')
7195:20110104:122221.319 Values in the buffer 0 Max 100
7195:20110104:122221.319 Sleeping for 1 seconds
7195:20110104:122222.321 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.321 Values in the buffer 0 Max 100
7195:20110104:122222.321 In process_active_checks('172.17.X.X',10051)
7195:20110104:122222.321 In process_log() filename:'/test_logmon/shadow' lastlogsize:0
7195:20110104:122222.321 Cannot open [/test_logmon/shadow] [Permission denied]
7195:20110104:122222.321 Active check [log["/test_logmon/shadow","mail","UTF-8",100]] is not supported. Disabled.
7195:20110104:122222.321 In process_value('adm1.xxx.xxx','log["/test_logmon/shadow","mail","UTF-8",100]','ZBX_NOTSUPPORTED')
7195:20110104:122222.321 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.321 Values in the buffer 0 Max 100
7195:20110104:122222.321 Buffer: new element 0
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:0
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:53
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:55
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:124
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:159
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:160
7195:20110104:122222.322 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:192
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:216
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:217
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:254
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:290
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:291
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:322
7195:20110104:122222.323 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:368
7195:20110104:122222.324 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:369
7195:20110104:122222.324 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','# Controls the System Request debugging functionality of the kernel')
7195:20110104:122222.324 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.324 Values in the buffer 1 Max 100
7195:20110104:122222.324 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/shadow\",\"mail\",\"UTF-8\",100]",
"value":"ZBX_NOTSUPPORTED",
"clock":1294140142}],
"clock":1294140142}]
7195:20110104:122222.325 JSON back [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000039"}]
7195:20110104:122222.325 In check_response({
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000039"})
7195:20110104:122222.325 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.000039
7195:20110104:122222.325 OK
7195:20110104:122222.325 Buffer: new element 0
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:437
7195:20110104:122222.326 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.sysrq = 0')
7195:20110104:122222.326 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.326 Values in the buffer 1 Max 100
7195:20110104:122222.326 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.326 Buffer: new element 1
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:454
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:455
7195:20110104:122222.326 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:526
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:577
7195:20110104:122222.327 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.core_uses_pid = 1')
7195:20110104:122222.327 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.327 Values in the buffer 2 Max 100
7195:20110104:122222.327 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.327 Buffer: new element 2
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:602
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:603
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:640
7195:20110104:122222.327 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:668
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:669
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:720
7195:20110104:122222.328 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.msgmnb = 65536')
7195:20110104:122222.328 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.328 Values in the buffer 3 Max 100
7195:20110104:122222.328 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.328 Buffer: new element 3
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:742
7195:20110104:122222.328 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:743
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:798
7195:20110104:122222.329 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.msgmax = 65536')
7195:20110104:122222.329 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.329 Values in the buffer 4 Max 100
7195:20110104:122222.329 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.329 Buffer: new element 4
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:820
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:821
7195:20110104:122222.329 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:874
7195:20110104:122222.329 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.shmmax = 4294967295')
7195:20110104:122222.330 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.330 Values in the buffer 5 Max 100
7195:20110104:122222.330 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.330 Buffer: new element 5
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:901
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:902
7195:20110104:122222.330 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:968
7195:20110104:122222.330 In process_value('adm1.xxx.xxx','log["/test_logmon/sysctl.conf","kernel","UTF-8",100]','kernel.shmall = 268435456')
7195:20110104:122222.330 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.331 Values in the buffer 6 Max 100
7195:20110104:122222.331 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.331 Buffer: new element 6
7195:20110104:122222.331 In process_log() filename:'/test_logmon/sysctl.conf' lastlogsize:994
7195:20110104:122222.331 In process_log() filename:'/test_logmon/tcsd.conf' lastlogsize:0
7195:20110104:122222.331 Cannot open [/test_logmon/tcsd.conf] [Permission denied]
7195:20110104:122222.331 Active check [log["/test_logmon/tcsd.conf","Description","UTF-8",100]] is not supported. Disabled.
7195:20110104:122222.331 In process_value('adm1.xxx.xxx','log["/test_logmon/tcsd.conf","Description","UTF-8",100]','ZBX_NOTSUPPORTED')
7195:20110104:122222.331 In send_buffer('172.17.X.X','10051')
7195:20110104:122222.331 Values in the buffer 7 Max 100
7195:20110104:122222.331 Will not send now. Now 1294140142 lastsent 1294140142 < 5
7195:20110104:122222.331 Buffer: new element 7
7195:20110104:122222.331 In get_min_nextcheck()
7195:20110104:122222.331 Sleeping for 1 seconds
7195:20110104:122223.333 In send_buffer('172.17.X.X','10051')
7195:20110104:122223.333 Values in the buffer 8 Max 100
7195:20110104:122223.333 Will not send now. Now 1294140143 lastsent 1294140142 < 5
7195:20110104:122223.333 Sleeping for 1 seconds
7195:20110104:122224.335 In send_buffer('172.17.X.X','10051')
7195:20110104:122224.335 Values in the buffer 8 Max 100
7195:20110104:122224.335 Will not send now. Now 1294140144 lastsent 1294140142 < 5
7195:20110104:122224.335 Sleeping for 1 seconds
7195:20110104:122225.337 In send_buffer('172.17.X.X','10051')
7195:20110104:122225.337 Values in the buffer 8 Max 100
7195:20110104:122225.337 Will not send now. Now 1294140145 lastsent 1294140142 < 5
7195:20110104:122225.337 Sleeping for 1 seconds
7195:20110104:122226.339 In send_buffer('172.17.X.X','10051')
7195:20110104:122226.339 Values in the buffer 8 Max 100
7195:20110104:122226.339 Will not send now. Now 1294140146 lastsent 1294140142 < 5
7195:20110104:122226.339 Sleeping for 1 seconds
7195:20110104:122227.341 In send_buffer('172.17.X.X','10051')
7195:20110104:122227.341 Values in the buffer 8 Max 100
7195:20110104:122227.341 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"# Controls the System Request debugging functionality of the kernel",
"lastlogsize":437,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.sysrq = 0",
"lastlogsize":454,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.core_uses_pid = 1",
"lastlogsize":602,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.msgmnb = 65536",
"lastlogsize":742,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.msgmax = 65536",
"lastlogsize":820,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.shmmax = 4294967295",
"lastlogsize":901,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/sysctl.conf\",\"kernel\",\"UTF-8\",100]",
"value":"kernel.shmall = 268435456",
"lastlogsize":994,
"clock":1294140142},
{
"host":"adm1.xxx.xxx",
"key":"log[\"\/test_logmon\/tcsd.conf\",\"Description\",\"UTF-8\",100]",
"value":"ZBX_NOTSUPPORTED",
"clock":1294140142}],
"clock":1294140147}]
7195:20110104:122227.342 JSON back [{
"response":"success",
"info":"Processed 0 Failed 8 Total 8 Seconds spent 0.000201"}]
7195:20110104:122227.342 In check_response({
"response":"success",
"info":"Processed 0 Failed 8 Total 8 Seconds spent 0.000201"})
7195:20110104:122227.342 Info from server: Processed 0 Failed 8 Total 8 Seconds spent 0.000201
7195:20110104:122227.342 OK
7195:20110104:122227.343 Sleeping for 1 seconds
7195:20110104:122228.344 In send_buffer('172.17.X.X','10051')
7195:20110104:122228.344 Values in the buffer 0 Max 100
7195:20110104:122228.344 Will not send now. Now 1294140148 lastsent 1294140147 < 5
7195:20110104:122228.344 Sleeping for 1 seconds
7195:20110104:122229.345 In send_buffer('172.17.X.X','10051')
7195:20110104:122229.345 Values in the buffer 0 Max 100
7195:20110104:122229.345 Will not send now. Now 1294140149 lastsent 1294140147 < 5
7195:20110104:122229.345 Sleeping for 1 seconds
7195:20110104:122230.348 In send_buffer('172.17.X.X','10051')
7195:20110104:122230.348 Values in the buffer 0 Max 100
Any help will be appreciated.
Have a good day

Thanks.


Comment