[Nagios-devel] new plugin interface for Nagios
Posted: Fri May 07, 2004 2:22 am
This is a cryptographically signed message in MIME format.
------------52181B05820CE9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
=0D=0Agreetings, fellow Nagios users.
well, basically I think it's just about time to add a new plugin interactio=
n interface to Nagios.
pretty bold, ha?
now let me explain. it has been almost a year since we turned to Nagios for=
our monitoring needs
(we were previosly using BigBrother and oh my dear, was it awful!
)
so we are being almost happy now. however, as configuration continues to gr=
ow, the response time
of the whole monitoring system increases.
currently we have 248 hosts monitored with 755 active checks at a 60 second=
s interval.
(interval_length=3D10, normal_check_interval 6)
being in charge of the monitoring, by now i have done all i could to optimi=
ze plugins,
and in fact this has helped a lot to keep the system running at a decent pa=
ce.
(for example, i have integrated disk checks into one plugin that uses share=
d snmplib
instead of calling snmpget, effectively elimitaing another fork)
so the biggest problem at this time seems to be Nagios's need to launch a p=
rocess for every check.
so now i'm thinking of adding some kind of plugin invocation mechanism into=
Nagios
that wouldn't require starting up another program.
and what i am thinking of as my options are:
1) shared library mechanism, like Apache modules. should be the fastest of =
all, but has its shortcomings.
not very flexible.
2) some kind of IPC. this would involve, i think, some check daemon process=
that'd start with nagios
and respond to check requests from it. a pipe or message queue could be use=
d for communication.
3) just forget about it.
i think i'll do that one way or another. but i want to make it The Right Wa=
y (r) and this is
where i turn to you and ask if you have any ideas/opinions/suggestions and =
in general, if it's worth
implementing at all...
--
Best regards,
Deomid Ryabkov
UNIX Systems Administrator
RosBusinessConsulting | http://www.rbc.ru/
E-mail: [email protected] | ICQ: 8025844
------------52181B05820CE9
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIIITgYJKoZIhvcNAQcCoIIIPzCCCDsCAQMxCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BicwggLgMIICSaADAgECAgMMCzowDQYJKoZIhvcNAQEEBQA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TCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAm
BgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0
ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1h
aWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzAJBgNV
BAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQD
EyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG9w0BAQEF
AAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6YfK/Uc4B
1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+uxg+B79A
gAJk16emu59l0c
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------------52181B05820CE9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
=0D=0Agreetings, fellow Nagios users.
well, basically I think it's just about time to add a new plugin interactio=
n interface to Nagios.
pretty bold, ha?
now let me explain. it has been almost a year since we turned to Nagios for=
our monitoring needs
(we were previosly using BigBrother and oh my dear, was it awful!
so we are being almost happy now. however, as configuration continues to gr=
ow, the response time
of the whole monitoring system increases.
currently we have 248 hosts monitored with 755 active checks at a 60 second=
s interval.
(interval_length=3D10, normal_check_interval 6)
being in charge of the monitoring, by now i have done all i could to optimi=
ze plugins,
and in fact this has helped a lot to keep the system running at a decent pa=
ce.
(for example, i have integrated disk checks into one plugin that uses share=
d snmplib
instead of calling snmpget, effectively elimitaing another fork)
so the biggest problem at this time seems to be Nagios's need to launch a p=
rocess for every check.
so now i'm thinking of adding some kind of plugin invocation mechanism into=
Nagios
that wouldn't require starting up another program.
and what i am thinking of as my options are:
1) shared library mechanism, like Apache modules. should be the fastest of =
all, but has its shortcomings.
not very flexible.
2) some kind of IPC. this would involve, i think, some check daemon process=
that'd start with nagios
and respond to check requests from it. a pipe or message queue could be use=
d for communication.
3) just forget about it.
i think i'll do that one way or another. but i want to make it The Right Wa=
y (r) and this is
where i turn to you and ask if you have any ideas/opinions/suggestions and =
in general, if it's worth
implementing at all...
--
Best regards,
Deomid Ryabkov
UNIX Systems Administrator
RosBusinessConsulting | http://www.rbc.ru/
E-mail: [email protected] | ICQ: 8025844
------------52181B05820CE9
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIIITgYJKoZIhvcNAQcCoIIIPzCCCDsCAQMxCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BicwggLgMIICSaADAgECAgMMCzowDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkExJTAj
BgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDQwMTA4MTQzMVoXDTA1MDQwMTA4
MTQzMVowWTEQMA4GA1UEBBMHUnlhYmtvdjEPMA0GA1UEKhMGRGVvbWlkMRcwFQYDVQQDEw5E
ZW9taWQgUnlhYmtvdjEbMBkGCSqGSIb3DQEJARYMcm9qZXJAcmJjLnJ1MIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwXKePOaSTFw61dmk2+Il+IyUMVZZE4PBY11WiZASNJO8
wUtR4IXlXu6nr1kAq7gkCoalvrc+TmvVS5o/cKH3QQklvjDIGGdWm+mSmVxdfWKxNZhcn7Ai
mkIy8UE2ZzL4bWiy5sQylg35Hv6B66Y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IkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+uxg+B79A
gAJk16emu59l0c
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]