Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting Status not changing for certain modules

  • Status not changing for certain modules

    Posted by opike on January 3, 2011 at 15:45

    This post is a follow-up to this thread (I’m unable to post replies to that thread):
    http://openideas.info/smf/index.php/topic,2301.0.html

    I have 2 modules, one that checks free disk space (one of the default modules that came with the agent) and the other that performs a tcp check. Both are of type “generic numeric” and as far as I can tell, are configured similarly. However I can’t get the status to change for the tcp check module but I can for the free disk space module.

    The tcp check module is returning a value of 0 and I set the minimum level for warning to 60 and for critical to 50, but the status is still showing as green.

    Here is a screen shot of the agent details for the server:
    (the 2 modules I’m working with are “FreeDiskC” and “oracleepm tcp check”)
    http://www.pikefin.com/img/agent_detail.jpg

    Screen shot of module details for the free disk space module:
    http://www.pikefin.com/img/free_disk_module.jpg

    Screen shot of module details for tcp check module:
    http://www.pikefin.com/img/tcp_check_module.jpg

    I also tried bouncing the pandora server process but that had no effect.

    javilanz replied 13 years, 11 months ago 3 Members · 14 Replies
  • 14 Replies
  • opike

    Member
    January 5, 2011 at 19:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I just upgraded to 3.2 full release from 3.2RC2 and the status is still not changing.

    If I’m unable to get this most basic functionality to work with pandora then I’m going to have to switch to another monitoring system like spiceworks.

  • Sancho

    Administrator
    January 6, 2011 at 17:21
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I just upgraded to 3.2 full release from 3.2RC2 and the status is still not changing.

    If I’m unable to get this most basic functionality to work with pandora then I’m going to have to switch to another monitoring system like spiceworks.

    Hi !

    Can you please send us a screenshot of the definition of modules ?. This sounds very odd 😕

  • opike

    Member
    January 6, 2011 at 21:35
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Not quite sure what you mean by definitions of modules. In my original post I provided screen shots of the properties of the modules:

    Screen shot of module details for the free disk space module:
    (this module behaves correctly)
    http://www.pikefin.com/img/free_disk_module.jpg

    Screen shot of module details for tcp check module:
    (this module is not working)
    http://www.pikefin.com/img/tcp_check_module.jpg

    If you are looking for something different, can you give me some more details? Thanks.

  • Sancho

    Administrator
    January 6, 2011 at 22:56
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I mean how do you get the data? (local module, network?), you mention the disk module status changes  is are working, but tcp module doesnt: I’ve realized you have an intersection in the definition of tcp crit/warn status: modify it in order to change, for example 50-60 warning, 60-100 crit.

    I hope with a little help you will get pandora working nicely very soon !

  • opike

    Member
    January 7, 2011 at 04:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks again for your help.

    The data for both modules is being brought over the network via tentacle. I know the data is being received by the server correctly because I can see the correct value under the “Data” column in the agent detail.

    One thing I just noticed is that not all of the modules under the same agent have the same number of data points. For example, if I look at the raw data for “CPUUse” I see many data points for 1/6/2011. But there is only one data point for both the module “FreeDiskC” and “oracleepm tcp check”. Theoretically, shouldn’t all modules under one agent have the same # of data points?

  • opike

    Member
    January 7, 2011 at 04:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Also I changed the warning and critical status values so that there is no longer an intersection, but it didn’t have any effect.

  • opike

    Member
    January 7, 2011 at 05:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I tested this with an agent that is local to the server and I’m seeing the same behavior (status not changing).

    Regarding my previous comment about the # of data points, I see now that the data is only stored if there is a change from the previous value.

  • Sancho

    Administrator
    January 7, 2011 at 18:06
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I tested this with an agent that is local to the server and I’m seeing the same behavior (status not changing).

    Regarding my previous comment about the # of data points, I see now that the data is only stored if there is a change from the previous value.

    Yes, it’s one of the important features in Pandora about how it stores information in the DB. Until you don’t get a different value (or wait 24hr since last value) it will not change any status, because will “understand” that nothing has changed from the last value it got, even if you change the status thresholds. Here you have two options to “get refresh” the information:

    1. Force a different value in the data reception.
    2. Delete the module in the console and create again.
    3. Wait 24hr since the last reception.

  • opike

    Member
    January 7, 2011 at 18:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, I understand that now.

    But even if the value is the same, if it is below the warning or critical minimum threshold, the status should change.

  • Sancho

    Administrator
    January 7, 2011 at 20:54
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, I understand that now.

    But even if the value is the same, if it is below the warning or critical minimum threshold, the status should change.

    You’re right, this could be a big confussion. I’m created a bug in our tracker about this issue:

    https://sourceforge.net/tracker/?func=detail&aid=3152993&group_id=155200&atid=794852

    Thanks for your time !

  • opike

    Member
    January 7, 2011 at 22:59
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It’s not just that the status doesn’t change when the value is constant…. even when the value changes the status still doesn’t change.

    I can give you access to my console over the internet if you want to take a look at it yourself.

    Let me know and I can email you the connection settings.

  • javilanz

    Member
    January 10, 2011 at 19:29
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi opike,

    You said that the tcp check module returns 0, right?
    Looking at your screenshots I would say that If the received data from the module (0 in your case) is not within its warning & critical levels, the module status won’t ever change.

    Besides, I’ve checked another situation:
    If you change the module’s warning & critical levels, and the data sent is within those levels, it will change the module status in the next agent contact.

    Hope this will be helpful for you

    Regards

  • opike

    Member
    January 15, 2011 at 06:39
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    This is now working as expected, thanks.

    I apologize if I wasted anyone’s time but I was anxious to get this up and running because I feel like pandora is going to be extremely useful for us and make the task of administering out network much easier.

  • javilanz

    Member
    January 17, 2011 at 13:03
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi again opike,

    Don’t worry about it, we’ll try to help you as much as we can.
    It’s great you manage to get it working.

    Regards