Ad Widget

Collapse

pb:Accessible only as active check

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dazfunk
    Junior Member
    • Sep 2011
    • 1

    #1

    pb:Accessible only as active check

    Hello there,


    I'm trying to monitor log files, and i still have "Accesible only as active check" in latest data.

    I have already checked :

    "hostname=zabbix_server_name" in zabbix_agent.conf
    Put the IP at the first rank.


    Here is my item:
    log[/opt/rancid/var/logs/logfile.20110903.180008,<'Error'>,<'ASCII'>,100]

    I also try as a second item:
    log[/opt/rancid/var/logs/logfile.20110902.102613,<Error>,<ASCII>,100]

    My log file follow this syntax logfile.date.hour and i'm trying to configure Zabbix to detect any "Error" in these files.


    and my zabbix_agent.log file:

    24471:20110905:150008.751 Sending [{
    "request":"active checks",
    "host":"srv**syslog"}]
    24471:20110905:150008.751 Before read
    24471:20110905:150008.755 Got [{
    "response":"success",
    "data":[
    {
    "key":"log[\/opt\/rancid\/var\/logs\/logfile.20110902.102613,<Error>,<ASCII>,100]",
    "delay":"60",
    "lastlogsize":"0",
    "mtime":"0"},
    {
    "key":"log[\/opt\/rancid\/var\/logs\/logfile.20110903.180008,<'Error'>,<'ASCII'>,100]",
    "delay":"60",
    "lastlogsize":"0",
    "mtime":"0"}]}]
    24471:20110905:150008.812 In parse_list_of_checks()
    24471:20110905:150008.812 In disable_all_metrics()
    24471:20110905:150008.812 In add_check('log[/opt/rancid/var/logs/logfile.20110902.102613,<Error>,<ASCII>,1]', 60, 0, 0)
    24471:20110905:150008.812 In add_check('log[/opt/rancid/var/logs/logfile.20110903.180008,<'Error'>,<'ASCII'>,100]', 60, 0, 0)
    24471:20110905:150008.812 In process_active_checks('ipzabbixserver',10051)
    24471:20110905:150008.812 In process_log() filename:'/opt/rancid/var/logs/logfile.20110902.102613' lastlogsize:18779
    24471:20110905:150008.824 In process_log() filename:'/opt/rancid/var/logs/logfile.20110903.180008' lastlogsize:18571
    24471:20110905:150008.827 In get_min_nextcheck()
    24471:20110905:150008.827 Sleeping for 1 seconds
    24469:20110905:150009.664 Processing request.


    Nothing seems wrong but but i only see the first item with "only accessible with active check" and i cannot see the second one...

    Any ideas?

    Thanks in advance
    Last edited by dazfunk; 05-09-2011, 10:03.
  • r0k5t4r
    Member
    • Jun 2009
    • 91

    #2
    Hi,

    did you get this solved?

    Comment

    Working...