Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mjoyner

    Need help converting a UTC string into a timestamp

    I need to convert this string format into a timestamp for mySQL. Here is the format: 17:24:41.410 UTC NOV 11 2009 ****Please NOTICE THE MILLISECOND AFTER THE CURRENT TIME ***** Thanks in advance for helping me out. [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting...
  2. mjoyner

    AT command from script

    Yep....... I tried it with the file name and it worked. THANKS [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  3. mjoyner

    AT command from script

    That hack doesn't working: #./telica_poller.sh ./telica_poller.sh: line 4: syntax error near unexpected token `2' ./telica_poller.sh: line 4: `nohup /usr/local/nagios/libexec/telica_poller.pl -d -c /usr/local/nagios/libexec/ > 2>&1 &' Here's the script: #!/bin/bash nohup...
  4. mjoyner

    AT command from script

    Um............ dope! and no.... Im not on crack! :-) [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  5. mjoyner

    shift context......

    Kirlse, That was exactly what I was missing.......... so: ($opt_t) || ($opt_t = shift) || ($opt_t = "GAUGE"); MEANS: (if opt_t defined) OR (if theres @ARGV, assign it to $opt_t) OR assign "GUAGE" to $opt_t [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror...
  6. mjoyner

    shift context......

    Thanks chazoid!!! It makes sense. This NAGIOS plugin is actually using the Getopt::Long perl module. So it is confusing to me to see why they are playing with the parameters. The parameters can come in any order, it would be wierd just to pull the next parameter from the array and assume that...
  7. mjoyner

    AT command from script

    Sam, I guess I need to return a "OK" status with exit code "2" for ok. How should I do that? [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  8. mjoyner

    shift context......

    I am new to PERL and I thought that shift had to do with arrays. What is this doing? $opt_H = shift unless ($opt_H); And this one too? ($opt_t) || ($opt_t = shift) || ($opt_t = "GAUGE"); If exist OR ????? OR equals "Guage" Thanks [root@netwatch ~]# yum remove windows Loaded plugins...
  9. mjoyner

    AT command from script

    I need to write a nagios plugin that will send a job to the background and return to nagios. If I let nagios wait for the job to finish, it will be 3 minutes. This will hold all other service checks. So what I would like to do it have nagios call a script, and then have the script start the...
  10. mjoyner

    Advice for cluster software

    Whats the scoop with centOS. coough!@#$# ........ "HA" Radius solution. :-) [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  11. mjoyner

    pix block ports for subdomain

    Hey Burt, hope your weekend was nice. I read up on that, I learned that ACL's are a first match rule. I see what you mean, the MASK got wider. [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for...
  12. mjoyner

    how can i change into switch statement

    Kirl...... I got dizzy looking at your signature. My vision is still fuzzy......... hehe [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  13. mjoyner

    How to stop Perl from removing table formatting from mysql command?

    thanks [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  14. mjoyner

    How to stop Perl from removing table formatting from mysql command?

    Hey Trojan! What is more commonly used DBI or DBD? Are they about the same? [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  15. mjoyner

    PIX soho setup

    GREENMK: Actually, the WIFI is messed up. I am using it as router, to get the lease from the cable modem and provide a as the outside interface for the PIX. When I try to use the PIX and get DHCP lease from the cable modem, I just get a broadcast storm and no lease....... it times out. I use...
  16. mjoyner

    Script to loop directory, read, and delete

    exsnafu......... Will that work in bash? [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!
  17. mjoyner

    Keeping users in sync on different boxes (passwd)

    Hehe, I agee long thread. Came into the game late on this one. NIS for /home and rsync for /etc/passwd. LDAP best, but dude would struggle with pam setups. [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages...
  18. mjoyner

    PIX soho setup

    North, I will post tonight. Thanks for your repsonse. My setup is this now: IP<>CABLEMODEM<>WIRELESS MODEM<>PIX<>192.168.1.0/24 I am double natting, possibly triple, on PIX and wireless modem. 78.x.x.x ....... cable modem | 78.x.x.x<>172.16.1.1 ...... wireless modem |...
  19. mjoyner

    PIX soho setup

    I am trying to install my PIX 515E at home. I have Charter Cable that provides DHCP. I am not sure if its is bridged or NAT'd. When I try to setup my PIX outside interface on the cable modem, my network LED keeps flashing. It smells like a broadcast storm to me. I cannot get a lease on my...
  20. mjoyner

    Swap Wont Mount at boot

    My gosh, thats the fatest SWAP I've seen. hehe. [root@netwatch ~]# yum remove windows Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: windows No Packages marked for removal OH YEAH!

Part and Inventory Search

Back
Top