Nagios: How to read the Linux system file?

hi 2 all

i installed nagios in my linux srvr . check_ftp file is in format of system format .

i wants to see the syntax for that script

how can i read that file .. ???
please help me !

I don't know what you mean by 'format of system format'.

Open it in a text editor? If you can't, then it's not a script at all, and can't be effectively recovered. The best a decompiler can do is still very cryptic, because variable and function names are lost and program logic may be optimized in unpredictable ways, constants vanished, etc.

If you are refering to the official "check_ftp" nagios plugin, you can get a copy of the source code (C) here --> Nagios Plugin Development

And here's some useful info about its usage: check_ftp

thank u Corona688 & verdepollo

verdepollo ji is it possible ? to create my own check_.. in nagios .

Yes, that's one of the strenghts of Nagios. You can write your own scripts in any language you want.

There is even a community based site where people share their scripts and plugins --> Nagios Exchange