Hi All,
It has turned out that the agent is a little bit difficult to work with, trying to extract data using only shell scripting is a bit of a pain.
It's difficult for us to do any form of authentication or encryption, and parsing of the returned data can be a little haphazard because we rely on correct formatting.
I've been thinking of alternative designs, possibly using PHP (Perl or Python would probably be better, but they're not viable languages for us) and either an embedded web server or hanging off inetd as it currently does.
This would allow us to do encryption, to require some form of authentication and to pass around easier to parse JSON or serialize()'d arrays
Personally, I almost always install a PHP CLI interpreter on my servers because I do 'shell' scripting in PHP, but what do the rest of you think? Would you be willing to install php-cli on your servers if you got the ability to do encrypted/authenticated/compressed agent connections?
What about if we allowed you to funnel SNMP queries via the agent? (only for UNIX hosts, obviously)
adam.
Adam Armstrong skrev 2013-08-07 01:08:
Hi All,
It has turned out that the agent is a little bit difficult to work with, trying to extract data using only shell scripting is a bit of a pain.
It's difficult for us to do any form of authentication or encryption, and parsing of the returned data can be a little haphazard because we rely on correct formatting.
I've been thinking of alternative designs, possibly using PHP (Perl or Python would probably be better, but they're not viable languages for us) and either an embedded web server or hanging off inetd as it currently does.
This would allow us to do encryption, to require some form of authentication and to pass around easier to parse JSON or serialize()'d arrays
Personally, I almost always install a PHP CLI interpreter on my servers because I do 'shell' scripting in PHP, but what do the rest of you think? Would you be willing to install php-cli on your servers if you got the ability to do encrypted/authenticated/compressed agent connections?
around 90% of our servers have php-cli installed and I would not hesitate to install it on the remaining 10%.
What about if we allowed you to funnel SNMP queries via the agent? (only for UNIX hosts, obviously)
It would not really make a difference.
How would discovery work then?
/niklas
On 2013-08-07 13:03, Niklas Larsson wrote:
Adam Armstrong skrev 2013-08-07 01:08: Hi All,
It has turned out that the agent is a little bit difficult to work with, trying to extract data using only shell scripting is a bit of a pain.
It's difficult for us to do any form of authentication or encryption, and parsing of the returned data can be a little haphazard because we rely on correct formatting.
I've been thinking of alternative designs, possibly using PHP (Perl or Python would probably be better, but they're not viable languages for us) and either an embedded web server or hanging off inetd as it currently does.
This would allow us to do encryption, to require some form of authentication and to pass around easier to parse JSON or serialize()'d arrays
Personally, I almost always install a PHP CLI interpreter on my servers because I do 'shell' scripting in PHP, but what do the rest of you think? Would you be willing to install php-cli on your servers if you got the ability to do encrypted/authenticated/compressed agent connections?
around 90% of our servers have php-cli installed and I would not hesitate to install it on the remaining 10%.
I suspect that you, like me, are not representative of most users in:
a) having PHP installed everywhere b) not having an irrational fear of PHP
:D
What about if we allowed you to funnel SNMP queries via the agent? (only for UNIX hosts, obviously)
It would not really make a difference.
How would discovery work then?
It wouldn't work any differently. Pushing SNMP via the agent would be optional. The agent itself would be optional, as it'd require more complex authentication and encryption to be configured.
adam.
participants (2)
-
Adam Armstrong
-
Niklas Larsson