On 25/09/2012 18:45, Andrey Lebedev wrote:
On 2012-09-26 00:09:48 +0100, Adam Armstrong said:
Documentation or features, its a simple choice.
Do you have it in the screenshots and demo version. Is not it? I was guided by them - as I could guess that this is no more.
A lot of those screenshots are very old. It's quite time consuming to replace them for every version.
I'm prefered documentation over features of course. But it's only my IMHO.
In this case "Services" - undocumented features.
For example in the screenshots is such application, as bind or postfix. But they are not in the current code.
ls includes/polling/applications apache.inc.php drbd.inc.php mailscanner.inc.php memcached.inc.php mysql.inc.php nginx.inc.php ntp-client.inc.php ntpd.inc.php ntpd-server.inc.php powerdns . inc.php powerdns-recursor.inc.php shoutcast.inc.php unbound.inc.php root @ monitoring :/ opt / observium #
Or less includes/polling/unix-agent.inc.php
# # Disabled for DRBD because it falsely detects the check_mk
output
if ($ section == "apache") {$ sa = "app"; $ sb = "apache";} if ($ section == "mysql") {$ sa = "app"; $ sb = "mysql";} if ($ section == "nginx") {$ sa = "app"; $ sb = "nginx";}
# If ($ section == "drbd") {$ sa = "app"; $ sb = "drbd";}
drbd - it's supported or not?
DRBD was something I wrote for a previous job, it has apparently broken since then and I've not been able to fix it (I don't have DRBD here now).
That commenting out is correct, we return DRBD data as "app-drbd" once the script is added to check_mk. Check_mk does it's own drbd test too, which we don't use, ehnce the confusion. At some point soon we'll fork the check_mk agent and strip out everything we don't use.
adam.