Code

Programming Languages: Perl

License: Artistic License

Repositories

browse code, statistics cvs -d:pserver:anonymous@nsc-gothix.cvs.sourceforge.net:/cvsroot/nsc-gothix login

cvs -z3 -d:pserver:anonymous@nsc-gothix.cvs.sourceforge.net:/cvsroot/nsc-gothix co -P modulename

Show:

What's happening?

  • Comment: status.dat in different format

    in case someone else has the same problem: ask from a different server, not the nagos server itself. Change the nsc.conf: nslog=yourServer:/var/cache/nagios3/status.dat remote.copy_cmd=scp -q -p -C %H:%F %D >%L 2>&1 ; sed -i 's/status {/ {/g' %D and by the way: Thanks for the great tool !

    2012-01-22 09:25:25 PST by duffner

  • status.dat in different format

    On Debian stable 6.0 I have to remove the word \"status\" from the word in front of { to be able to use ncm. I am using something like: sed \'s/status {/ {/g\' /var/cache/nagios3/status.dat > /home/TheUser/nsc/copied.dat as cronjob to create a \"good\" file. The original looks something like: info { created=1327250493 version=3.2.1...

    2012-01-22 08:53:11 PST by duffner

Our Numbers